Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cba:start [2017/08/09 06:33]
arman
cba:start [2017/08/09 07:28]
arman [Misc]
Line 23: Line 23:
   * Configure R to download packages from CBA CRAN mirror:    * Configure R to download packages from CBA CRAN mirror: 
     * options(repos = c(CRAN = "http://artifactory.dev.cba/artifactory/au.csiro.cran/"), download.file.method = "libcurl")     * options(repos = c(CRAN = "http://artifactory.dev.cba/artifactory/au.csiro.cran/"), download.file.method = "libcurl")
 +  * If package installation fails from http://artifactory.dev.cba, do the following: 
 +    * Use browser to navigate to: http://artifactory.dev.cba/artifactory/au.csiro.cran/bin/macosx/mavericks/contrib/3.2/. Change "3.2" to match your R version. 
 +    * In browser, use find to locate the package you are after. For example, I couldn't install dplyr, so I searched "dplyr"
 +    * Right click on file name, and choose to download the linked file. On Mac, it will be saved to "Download" directory. 
 +    * Run Terminal and change directory to Downloads, i.e., cd ~/Downloads
 +    * Run R and execute: 
 +      * install.packages("dplyr_0.7.2.tgz", repos=NULL, type="source")