Re: [R] listing datasets from all my packages

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 19 Jul 2005 - 17:39:45 EST

I did manage eventually to reproduce this via

data(package="makecdfenv")

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

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

______________________________________________
R-help@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
Received on Tue Jul 19 17:43:58 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST