R - Specifying colClasses in the read.csv
- by Derek
Hi,
I am trying to specify the colClasses options in the read.csv function in R. In my data, the first column "time" is basically a character vector while the rest of the columns are numeric.
data<-read.csv("test.csv" , comment.char="" , colClasses=c(time="character","numeric") , strip.white=FALSE)
In the above command, I would want R to…