Changes between Version 8 and Version 9 of cypress/R


Ignore:
Timestamp:
08/21/17 12:21:00 (7 years ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/R

    v8 v9  
    99* R/3.2.4
    1010* R/3.2.5-intel
    11 
    12 == Installing Packages ==
    1311
    1412
     
    202200}}}
    203201
     202
     203== Installing Packages into user home directory ==
     204If you want to use some packages but those aren't installed into the R on Cypress,
     205you can install those into your home directory.
     206
     207First, create a directory and set an environmental variable,
     208{{{
     209mkdir -p ~/R/Library
     210export R_LIB_USER=/home/USERID/R/Library
     211}}}
     212The environmental variable R_LIBS_USER points the location of user package.
     213Set in ~/.Renviron to tell R a default location,
     214{{{
     215echo 'R_LIBS_USER="~/R/Library"' > $HOME/.Renviron
     216}}}
     217Or use a text editor.
     218
     219Run R and install a package
     220{{{
     221> install.packages("copula",lib="~/R/Library")
     222}}}
     223
     224
    204225[[cypress/Python|Next Section: Running Python on Cypress]]