[Rd] should `data` respect default.stringsAsFactors()?

Cook, Malcolm MEC at stowers.org
Thu Feb 18 21:25:34 CET 2016


Hiya,

Probably been debated elsewhere....

I note that R's `data` function does not respect default.stringsAsFactors 

By my lights, it should, especially as it is documented to call read.table, which DOES respect.

Oh, but:  http://r.789695.n4.nabble.com/stringsAsFactors-FALSE-tp921891p921893.html  

Compelling.  I have to agree.

So, I change my mind.  

By my lights, `data` should then be documented to NOT respect default.stringsAsFactors.

Else?

~Malcolm Cook



More information about the R-devel mailing list