Skip to content

Instantly share code, notes, and snippets.

@socratesk
Created February 13, 2018 03:15
Show Gist options
  • Save socratesk/9f0d4aac486c6a673fc3743148b63ed9 to your computer and use it in GitHub Desktop.
Save socratesk/9f0d4aac486c6a673fc3743148b63ed9 to your computer and use it in GitHub Desktop.
R Library code
#### This REFERENCE file contains frequently used R codes ####
# To detach a library that is already loaded in R Environment, without restarting R console-
detach("package:mlr", unload=TRUE)
# To install single package
install.packages("mlr")
# To install multiple packages
install.packages(c("mlr", "xgboost"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment