[R] listing datasets from all my packages

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 19 09:39:45 CEST 2005

I did manage eventually to reproduce this via


which is a BioC package with a non-standard use of the data directory.
(There are no objects in the single R file in the data directory, which 
from its name I suggest is a dummy and the data directory should be 
removed entirely.  The indexing code fails to handle this correctly.)

I had no difficulty on a system that has almost all CRAN packages 

On Mon, 18 Jul 2005, Elizabeth Purdom wrote:

> Hi,
> I am using R 2.1.0 on Windows XP and when I type data() to list the
> datasets in R, there is a helpful hint to type 'data(package =
> .packages(all.available = TRUE))' to see the datasets in all of the
> packages -- not just the active ones.
> However, when I do this, I get the following message:
> > data(package = .packages(all.available = TRUE))
> Error in rbind(...) : number of columns of matrices must match (see arg 2)
> In addition: Warning messages:
> 1: datasets have been moved from package 'base' to package 'datasets' in:
> data(package = .packages(all.available = TRUE))
> 2: datasets have been moved from package 'stats' to package 'datasets' in:
> data(package = .packages(all.available = TRUE))
> I possibly have old libraries in my R libraries because I copy them forward
> and update them with new versions of R, rather than redownload them. Is
> there a way to fix this or do the same another way? (I saw something in
> archives about a problem similar to this with .packages(), but I got the
> impression it was fixed for 2.1.0)
> Thanks,
> Elizabeth
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

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