I have a data file in which one of the columns is country code and NA is the
code for Namibia.
When I read the data file using read.csv, NA for Namibia is being treated as
null or "NA"

How can I prevent this from happening?

I tried the following but it didn't work
input <- read.csv("padded.csv",header = TRUE,as.is = c("code2"))

thanks,
Suresh

	[[alternative HTML version deleted]]

