On 03.12.2012 11:30, F86 wrote:
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

So please how us lines 115-120 of that file.

Uwe Ligges



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.

______________________________________________
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.


______________________________________________
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.

Reply via email to