[R] I can not load MASS at starting R

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun May 11 09:07:24 CEST 2003


This is known: search the archives for the solutions (you are not intended
to use .Rprofile to call library(): that's the purpose of
options("defaultPackages") so set that, but there are at least two other 
solutions.)

Specifically, I sent a message to R-help on

Date: Sat, 3 May 2003 08:42:39 +0100 (BST)
Subject: Re: [R] failed to load MASS at start up


On Sun, 11 May 2003, Francisco J Molina wrote:

> I have istalled R with the rpm package available for RedHat 9.0.
> My machine is a pentium4.
> 
> This is my .Rprofile file ( placed in my home directory ):
> 
> w <- function ( x, y ) write.table ( t ( x ), file = y, quote = F, col.names = F, row.names = F, sep = ',' )
> q <- function () q ( save = 'no' )
> library( stepfun )
> library ( MASS )
> 
> The MASS library is not loaded when R is started. These are the error
> messages I got:
> 
> Error in get(x, envir, mode, inherits) : variable "biplot" was not found
> Error in library(MASS) : package/namespace load failed

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list