Saturday, March 12, 2011

Ask R not to create a local directory tree

I don't like R to create a local directory tree in my home directory because new packages will automatically be installed into that directory. The way to do this is to modify the "/usr/local/lib64/R/etc/Renviron" and mark the line "R_LIBS_USER=${R_LIBS_USER-'~/R/x86_64-unknown-linux-gnu-library/2.12'}" off. Simple as that.

2 comments:

edd said...

Well, if you used the pre-built Ubuntu package that would already be the default.

Shige said...

Glad to know, thanks.

Counter