Cool, thanks for the clarification.


From: Michael Lawrence <lawrence.michael@gene.com<mailto:lawrence.michael@gene.com>>
Date: Friday, September 13, 2013 7:24 PM
To: Florian Hahne <florian.hahne@novartis.com<mailto:florian.hahne@novartis.com>>
Cc: "bioc-devel@r-project.org<mailto:bioc-devel@r-project.org>" <bioc-devel@r-project.org<mailto:bioc-devel@r-project.org>>
Subject: Re: [Bioc-devel] coercing DataFrame to data.frame




On Fri, Sep 13, 2013 at 7:35 AM, Hahne, Florian <florian.hahne@novartis.com<mailto:florian.hahne@novartis.com>> wrote:
Hi all,
I used to be able to do this:
 as.data.frame(DataFrame(), stringsAsFactors=TRUE)

now I get a warning:
Warning in as.data.frame(DataFrame(), stringsAsFactors = TRUE) :
  Arguments in '...' ignored

Do I have the guarantee nowadays that coercing a DataFrame to a data.frame does not cast characters to factors. I don't think that was always the case.


Yea, I cleaned that up. The idea is that the types in the DataFrame should be preserved in the data.frame.

Florian


        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org<mailto:Bioc-devel@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


	[[alternative HTML version deleted]]

