From pgrosu at gmail.com  Mon Jan 18 01:36:56 2016
From: pgrosu at gmail.com (Paul Grosu)
Date: Sun, 17 Jan 2016 19:36:56 -0500
Subject: [Rd] as.data.frame and illegal row.names argument (bug in
	package:DoE.wrapper?)
In-Reply-To: <22168.42575.283450.893916@stat.math.ethz.ch>
References: <CAF8bMcaQvSHxDbEkLexMOLRFWCPXa1DSvykE+9xeWnRudouknQ@mail.gmail.com>	<074701d14f1b$eb665ac0$c2331040$@gmail.com>
	<22168.42575.283450.893916@stat.math.ethz.ch>
Message-ID: <00f201d15188$5638cc20$02aa6460$@gmail.com>

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



[Rd] as.data.frame and illegal row.names argument (bug in package:DoE.wrapper?)
Paul Grosu