In R 3.1.0 and data.table 1.9.2, I can't get stringsAsFactors to work:

require(data.table)
s=fread('http://biostat.mc.vanderbilt.edu/tmp/support2.csv', stringsAsFactors=TRUE)
attributes(s$sex)   # NULL; is character

Frank

_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to