From abroman at jhsph.edu  Fri May 23 18:16:23 2003
From: abroman at jhsph.edu (abroman@jhsph.edu)
Date: Fri May 23 17:16:36 2003
Subject: [Rd] library(MASS) in .First() (PR#3085)
Message-ID: <200305231516.h4NFGN2b025959@pubhealth.ku.dk>

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


[Rd] library(MASS) in .First() (PR#3085)
abroman@jhsph.edu