[R] default library locations under Linux
Tony Long
tdlong at uci.edu
Tue Oct 2 21:59:08 CEST 2001
All:
I am attempting to allow multiple users on a linux system use some
common functions. The problem I am having is that for some users
their default library location is
.lib.loc = "/usr/lib/R/library"
whereas for other users it is
.lib.loc = "/usr/local/lib/R/library"
It seems as though the packages (for example cluster) load fine if I
just change .lib.loc to "usr/lib/R/library" but when I go to run the
functions I get additional errors like:
Error in .fortran("pam",as.integer(n), ...: C/Fortran function name
not in load table
I suspect I don't have a clue how to global "synchronize" my linux
installation of R so that all users see the same packages (clearly
just changing .lib.loc doesn't do the trick), and I have to do it at
a "higher" level than the .lib.loc.
I think it is likely the whole problem stems from how I installed
these packages. Namely being in my personal account as su, starting
R, and using the install.packages() {this function is cool to the
point of being dangerous}. Maybe I should be running the
install.packages option from another directory. Any advice here
would also be appreciated.
Any suggestions. Tony
--
Tony Long
Ecology and Evolutionary Biology
Steinhaus Hall
University of California at Irvine
Irvine, CA
92697-2525
Tel: (949) 824-2562 (office)
Tel: (949) 824-5994 (lab)
Fax: (949) 824-2181
email: tdlong at uci.edu
http://hjmuller.bio.uci.edu/~labhome/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list