Skip to content

as.data.frame.list (PR#6782)

2 messages · J. R. M. Hosking, Brian Ripley

#
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)
#
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: