[Rd] stringsAsFactors

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sun Apr 12 14:57:14 CEST 2020

The NEWS for R 4.0.0 says "R now uses a stringsAsFactors = FALSE 
default, and hence by default no longer converts strings to factors in 
calls to data.frame() and read.table()."

This seems to have been implemented by setting options(stringsAsFactors 
= FALSE) in the main R profile.  However, setting

options(stringsAsFactors = NULL)

reverts to the same behavior as the old options(stringsAsFactors = 
TRUE).  Is this intentional?

Duncan Murdoch

More information about the R-devel mailing list