Skip to content

data sets

2 messages · Martin Henry H. Stevens, Brian Ripley

#
Windows 2000, R 1.3.0  via ESS.

It was my impression that example data sets could be accessed by simply typing in the name of the data set associated with any loaded library (e.g. 'cars', or if MASS is loaded, 'hills'). Why might this data not show up?

Thanks for ideas in advance.

*****************************
Martin Henry H. Stevens
HStevens at muohio.edu
tel: (513) 529 - 4206
FAX: (513) 529 - 4243

338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010716/a06b1cc0/attachment.html
#
On Mon, 16 Jul 2001, Martin Henry H. Stevens wrote:

            
typing in the name of the data set associated with any loaded library
(e.g. 'cars', or if MASS is loaded, 'hills'). Why might this data not show up?

Your impression is incorrect.  You need

library(MASS)
data(hills)

This is an R/S difference, which may one day disappear.