[R] How to set up your library location for multiple users

Dave Jacoby jacoby at purdue.edu
Mon Nov 12 21:42:17 CET 2007


I'm running R 2.5.0 (with the upgrade to 2.6.0 scheduled) on a and
trying to write a few applications that will be run as myself, as my
boss and as the web server, on one of many Solaris x86 servers.

I'd like to have my library sharable, and I thought I had found the way
by putting this line early in my R scripts:

.lib.loc="/home/jacoby/My_R_Lib/"

But I tried that with my permissions and got this error:

Computing affinities[1] "Checking to see if your internet connection
works..."
Error in getCDF(cdfpackagename) : You do not have write access to
/usr/local/R-2.5.0/lib/R/library
Please check your permissions or provide a different 'lib' parameter.
Execution halted

Any pointers?

-- 
David Jacoby    jacoby at purdue.edu
  Purdue Genomics Facility
  S049, WSLR building
  Phone: hah!



More information about the R-help mailing list