Skip to content
Prev 43018 / 63424 Next

"NA" vs. NA

Change the "na.strings" argument to read.table or read.csv when reading 
in the file.  By default, na.strings="NA".  If you do something like

countryCodes <- read.csv("mySourceFile.csv", na.strings="")

then your problem will go away.
On 4/5/2012 7:26 AM, Adrian Dusa wrote: