From ripley at stats.ox.ac.uk  Fri Apr 16 19:33:12 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri Apr 16 19:33:15 2004
Subject: [Rd] as.data.frame.list (PR#6782)
In-Reply-To: <20040416164852.D03461049B@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0404161829420.18271-100000@gannet.stats>

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@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@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
> 

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


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