Skip to content
Prev 31532 / 398506 Next

failed to load MASS at start up

A belated follow-up on this -- I was on holiday over Easter.
On 16 Apr 2003, Douglas Bates wrote:

            
Why would you want to do that?  There are options to set the list of
default packages, and

options(defaultPackages=c(getOption("defaultPackages"), "MASS"))

in .Rprofile is the preferred way to do this (and it works).
[...]
That's true. Default packages are loaded right at the end of the startup 
options.

To fix this you could add the following line to .../library/MASS/NAMESPACE

importFrom(mva, biplot)

Unfortunately, that would load *two* copies of mva if MASS is loaded
before mva (as I understand it), which is why I removed it from the
NAMESPACE file.  I'll reinstate it for some future revision, possibly by 
a require(MASS) in a .onLoad.