[R] Warning message: In scan(file, what, nmax...)
F86
faradj.g at gmail.com
Mon Dec 3 11:30:06 CET 2012
Dear David,
Than you for helping me.
I tried with ","
Data1<-read.table("/Users/kama/Analysis/GDP10.csv",header=TRUE,sep=",")
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
:
line 116 did not have 2 elements
i also tried:
Data1<-readLines("/Users/kama/Analysis/GDP10.csv",n=10)
> Data1
[1] "Country10;Year10;GDP" "Andorra;2010;41,138" "Andorra;2009;44,591"
[4] "Andorra;2008;49,981" "Andorra;2007;48,431" "Andorra;2006;43,541"
[7] "Andorra;2005;40,821" "Andorra;2004;38,381" "Andorra;2003;32,55"
[10] "Andorra;2002;25,532"
--
View this message in context: http://r.789695.n4.nabble.com/Warning-message-In-scan-file-what-nmax-tp4651689p4651809.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list