[Rd] library(MASS) in .First() (PR#3085)

abroman at jhsph.edu abroman at jhsph.edu
Fri May 23 18:16:23 MEST 2003


Full_Name: Aimee Teo Broman
Version: 1.7.0
OS: Windows XP vers5.1
Submission from: (NULL) (162.129.145.77)



My .First() function contains the command library(MASS) -- when I open R 1.7.0,
I get this error:

Error in get(x, envir, mode, inherits) : variable "biplot" was not found
Error in library(MASS) : package/namespace load failed

If I run library(MASS) outside of the .First() function, it does not produce an
error, and the functions from that library seem to work fine.  I was not getting
this error in 1.6.2.

The .First() function I'm using:

.First <- function(){
  library(foreign)
  library(modreg)
  library(MASS)
}

thanks,
Aimee



More information about the R-devel mailing list