[R] library()

Rolf Turner rolf at math.unb.ca
Thu Dec 20 18:28:45 CET 2001


I've just installed version 1.4.0 of R, and am experiencing
a puzzling phenomenon with the library() function.

I have .lib.loc set as follows:

> .lib.loc
[1] "/usr/local/lib/R/library"      "/home/faculty/rolf/Rlib"

If I invoke

> library(melvin)

I get the error message

   Error in library(melvin) : There is no package called `melvin'

but if I invoke

> library(melvin,lib.loc="/home/faculty/rolf/Rlib")

the package ``melvin'' gets loaded with no problems.

What gives?  Is the .lib.loc object not being used in 1.4.0 the way
it was used in 1.3.1?  (I can't see anything about this in the
``USER-VISIBLE CHANGES'' in Peter Dalgaard's posting to this list
yesterday.)  Or have I done something silly?

				cheers,

					Rolf Turner
					rolf at math.unb.ca

Details:

> version
         _                   
platform sparc-sun-solaris2.7
arch     sparc               
os       solaris2.7          
system   sparc, solaris2.7   
status                       
major    1                   
minor    4.0                 
year     2001                
month    12                  
day      19                  
language R
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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