[Rd] as.data.frame.list (PR#6782)

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 16 19:33:12 CEST 2004


Can I make a suggestion, please?  R 1.9.0 was in alpha/beta test for over
a month, and a submitting a whole bunch of `bug' reports days after
release is about the maximally sub-optimal timing.  Please make the effort
to look at the development versions we make available.

On Fri, 16 Apr 2004 hosking at watson.ibm.com wrote:

> Full_Name: J. R. M. Hosking
> Version: 1.9.0
> OS: Windows 2000
> Submission from: (NULL) (129.34.20.23)
> 
> 
> Browsing the code of as.data.frame.list, I see
> 
>   cn[m] <- paste("..adfl.", cn[m], sep = "")
> 
> and 5 lines later
> 
>   names(x) <- sub("^..adfl.", "", names(x))
> 
> It looks as though the latter should be
> 
>   names(x) <- sub("^\\.\\.adfl\\.", "", names(x))
> 
> This won't often matter, but perhaps one day somebody may type something like
> 
>   as.data.frame(list(row.names=1:2,foxglove=3:4,toadflax=5:6))
> 
> 
> 
> (R 1.9.0, Windows binary from CRAN)
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
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-devel mailing list