as.data.frame and illegal row.names argument (bug in package:DoE.wrapper?)
Hi Martin, Sorry about the confusion. Yes, my eyes were playing tricks on me during the copy-&-paste process :) Thank you for helping so quickly with this. I am not part of the R core group to make changes to R, but I've studied the R source code - and that of quite a few BioConductor packages - for many years. So I was just posting to help with why it was happening to focus the root-cause for a fix, and how to find a possible work-around for it. Thank you, Paul -----Original Message----- From: Martin Maechler [mailto:maechler at stat.math.ethz.ch] Sent: Friday, January 15, 2016 2:57 AM To: Paul Grosu Cc: r-devel at r-project.org Subject: Re: [Rd] as.data.frame and illegal row.names argument (bug in package:DoE.wrapper?)
Paul Grosu <pgrosu at gmail.com>
on Thu, 14 Jan 2016 17:35:49 -0500 writes:
> Hi Bill,
> The thing is that is happening here is the specific > instance of
as.data.frame that is being run, which in this > instance switch between
as.data.frame.matrix() and as.data.frame.matrix().
(This must be another typo i.e. "cut/n/paste forgot to modify" lapsus; you
probably meant *.vector in the 2nd case).
I'm pretty sure Bill was not asking *why* this happens {he would easily find
out if he wanted} but reporting two (potential) bugs:
- one in R [not reporting erronous as.data.frame() usage]
- one in DoE.wrapper
I'm going to look into the R one, which is indeed in the
as.data.frame.vector() method, as you've noted.
--
Martin Maechler
ETH Zurich