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