Dave Jacoby
2007-Nov-12 20:42 UTC
[R] How to set up your library location for multiple users
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!
James W. MacDonald
2007-Nov-12 21:23 UTC
[R] How to set up your library location for multiple users
Hi Dave, Not sure what .lib.loc() is supposed to do, but you might want to look at section 6.2 of the R Installation and Administration manual, which covers library path issues. Best, Jim Dave Jacoby wrote:> 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? >-- James W. MacDonald, M.S. Biostatistician Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623