[R] failed to load MASS at start up

Michael Na Li lina at u.washington.edu
Wed Apr 16 23:22:55 CEST 2003


On 16 Apr 2003, Douglas Bates outgrape:

>  Michael Na Li <lina at u.washington.edu> writes:
>  
> > just fine.  However, if I put a line 'library(MASS)' into ~/.Rprofile, it
> > fails to load,
> > 
> > R : Copyright 2003, The R Development Core Team
> > Version 1.7.0  (2003-04-16)
> > ....
> > Type `q()' to quit R.
> > 
> > Error in get(x, envir, mode, inherits) : variable "biplot" was not found
> > Error in library(MASS) : package/namespace load failed
> > [Previously saved workspace restored]
> > 
> >
>  biplot is in mva
>  
>  biplot(mva)             Biplot of Multivariate Data
>  biplot.princomp(mva)    Biplot for Principal Components
>  
>  By default mva is loaded but perhaps that does not occur until after
>  ~/.Rprofile is executed.
> 

Yes, load mva before MASS (in ~/.Rprofile) solved the problem.

Thanks.

Michael



More information about the R-help mailing list