[R] data sets

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Jul 16 12:30:01 CEST 2001


On Mon, 16 Jul 2001, Martin Henry H. Stevens wrote:

> 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?

Your impression is incorrect.  You need

library(MASS)
data(hills)

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

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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