[R] a small problem with data

Douglas Bates bates at stat.wisc.edu
Mon Apr 18 18:47:27 CEST 2005


Yoko Nakajima wrote:
> Hello,
> 
> I have a strange problem. I may have specified and scanned the data
> set (I receive a message: Read 384134 items). I can check the
> dimension of the data set by dim(xyz). But when I try to load the
> data set or to list the data set by data(xyz), then I receive an
> error message saying that data set not found in: data(xyz). Is this
> possible, or is this because I deal with a large data set (dimension
> is 13246 x 29). I can not run any package with this data set. I am
> guessing that this is because of the same reason that I can not
> load/list the data set.  Are reading data and loading data are
> different? I am very puzzled.

The data function is used to load data sets from a package (and is not 
even needed for that any more if the package uses LazyData).

You do not need to use data(xyz) before using the name xyz.

To check the names of the objects currently in your worksheet use

objects()




More information about the R-help mailing list