R Tip: Use stringsAsFactors = FALSE
Win-Vector Blog 2018-03-17
Summary:
R tip: use stringsAsFactors = FALSE. R often uses a concept of factors to re-encode strings. This can be too early and too aggressive. Sometimes a string is just a string. Sigmund Freud, it is often claimed, said: “Sometimes a cigar is just a cigar.” To avoid problems delay re-encoding of strings by using stringsAsFactors … Continue reading R Tip: Use
stringsAsFactors = FALSE