Skip to content

Instantly share code, notes, and snippets.

@swihart
Last active November 23, 2016 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swihart/ae24cb9db3a22819ab5b629b5a0bd850 to your computer and use it in GitHub Desktop.
Save swihart/ae24cb9db3a22819ab5b629b5a0bd850 to your computer and use it in GitHub Desktop.
get RStudio to download packages
options(repos=structure(c(CRAN="http://cran.us.r-project.org")))
Then do it. Sometimes need to do
install.packages(pkg-name, dependencies=TRUE)
source: http://stackoverflow.com/a/29945487/2727349
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment