[R] Problem with MASS data

Alan Arnholt arnholt at math.appstate.edu
Mon Jan 8 20:55:52 CET 2001



I have run into a problem accessing data sets in the MASS library.  Not sure why...
I still have R version 1.1 installed on several machines and have no problems.  However,
I installed R version 1.2 on three machines today and could not access data sets in 
the MASS library on any of the machines.  The file directory indicates the data sets
are in the correct location ... but R says:

> library(MASS)
> data(cats)
Warning message: 
Data set `cats' not found in: data(cats) 
  
> data(Boston)
Warning message: 
Data set `Boston' not found in: data(Boston) 

The problem seems to be only with the MASS package.  

> library(boot)
> data(aids)
> aids
    year quarter delay dud time   y
1   1983       3     0   0    1   2
2   1983       3     2   0    1   6
3   1983       3     5   0    1   0

After typing  
data(package="MASS")

the data sets I should be able to access appear....

Data sets in package `MASS':

abbey           nickel in syenite rock
accdeaths       US accidental deaths 1973-8
Aids2           Australian AIDS survival data
Animals         body and brain weights from Rousseeuw & Leroy
anorexia        anorexia data on weight change
austres         quarterly series of the number of Australian residents
beav1           time series of body temperatures of two beavers
....

Have I missed something in the new release?  Any ideas?  

> version
         _              
platform i386-pc-mingw32
arch     x86            
os       Win32          
system   x86, Win32     
status                  
major    1              
minor    2.0            
year     2000           
month    12             
day      15             
language R     

Thanks in advance

Alan

----------------------
Alan T. Arnholt
Associate Professor
Dept. of Mathematical Sciences
TEL: (828) 262-2863
FAX: (828) 265-8617
arnholt at math.appstate.edu

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list