It is clear that you have letters in the data you are trying to process; that is the cause of the erro. What was the 'scan' statement you were using? Were you expecting all numerics in the string? The error message is consistent with your input.
On Wed, Feb 2, 2011 at 2:07 AM, gked <grigoriy.lyuks...@gmail.com> wrote: > > I know it's a common error and there is a lot of help available but still > can't resolve the issue: > all i am trying to do is to read a csv file from my folder and this is what > i get: > > Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, > : > scan() expected 'a real', got > '1,m,a,F,165,240,26.5,31,0.738,0.704,1.095,0.606,0.847' > > Can you help? > > -- > View this message in context: > http://r.789695.n4.nabble.com/error-in-scan-tp3253487p3253487.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. > -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? ______________________________________________ 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.