[R] Help with .csv file reading !
aaurouss
antoine.aurousseau at gmail.com
Thu Jan 19 15:22:45 CET 2012
Hello,
Here's my problem :
I have a csv file which I have to read with read.table() function (or
read.csv). The file has about 60000 lines whose data are written this way:
character;character;character;character
14/10/2010 13:10;0;49;0;49;
14/10/2010 13:20;0;49;0;49;
14/10/2010 13:30;0;49;0;49;
I tried to use the function this way: read.csv("file.csv",sep =
";",colClasses = "character", fill="TRUE",as.is=TRUE,h=FALSE).
Here's what I get as an error:
Error in fill && length(col.names) > cols :
type 'x' incorrect in 'x && y'
I can't find any set of options with any of the read functions that work.
Any ideas ?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Help-with-csv-file-reading-tp4310138p4310138.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list