Hi I'm reading a CSV file using read.table, and it keeps importing a text variable as a factor. To overcome this, I've used the as.is command referring to the variable in question (called "stim")
data<-read.table(file.choose(), header=T, sep=",", as.is = "stim") However, "stim" is still imported as a factor. I notice there are other read.table options related to this issue, but the help files don't appear to contain much detail on these. Any help would be greatly appreciated. Best wishes Nick Riches -- Lecturer in Speech and Language Pathology Room 1.9 King George VI Building Queen Victoria Road University of Newcastle-upon Tyne NE1 7RU 0191 222 8720 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.