This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
r_antsr_usage [2017/04/10 19:21] mgstauff [Managing Packages] |
r_antsr_usage [2017/04/10 20:28] (current) mgstauff [Local/User Package Installation] |
||
---|---|---|---|
Line 3: | Line 3: | ||
==== Local/User Package Installation ==== | ==== Local/User Package Installation ==== | ||
- | R_LIBS_USER will update | + | As of R 3.2, R should create a default location for local libraries (i.e. that you install on your own). Check using the '' |
+ | |||
+ | R_LIBS_USER will by default be the first line shown by '' | ||
+ | |||
+ | **HOWEVER** if you define R_LIBS, it will be used before R_LIBS_USER in search and installation paths. This can be confusing. For installation, | ||
+ | |||
+ | Some documentation here: | ||
+ | https:// | ||
==== Managing Packages ==== | ==== Managing Packages ==== | ||
Line 52: | Line 60: | ||
> install_github(" | > install_github(" | ||
| | ||
- | NOTE about R_LIBS environment variable: | ||
- | As of R 3.2, R should create a default location for local libraries (i.e. that you install on your own). Check using the '' | ||