Last active
November 23, 2016 19:00
-
-
Save swihart/ae24cb9db3a22819ab5b629b5a0bd850 to your computer and use it in GitHub Desktop.
get RStudio to download packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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