Skip to content

Instantly share code, notes, and snippets.

@cderv
Last active February 9, 2018 19:53
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 cderv/8c97bd2167eb435b3de9b7a3aebb57f2 to your computer and use it in GitHub Desktop.
Save cderv/8c97bd2167eb435b3de9b7a3aebb57f2 to your computer and use it in GitHub Desktop.
Some stuff to remember on R

How to set RLIBS ?

R_LIBS='<somelibrarypath>:<someotherlibrarypath>'

How configure.args and configure.vars are resolved ?

They can be provided as a named list and this is resolved by install.packages using package name.

Can they be use with devtools.install.args ?

it seems not because the options are not resolved by name but directly pass to R CMD INSTALL. They must concern only the current install package by packrat::install or devtools::install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment