Re: [R] different csv files; was: (no subject)

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Sat 22 Jul 2006 - 19:51:29 EST

ahmed el kenawy wrote:

> hi
>
> i created two files in excel with a dbf format in a similar way. the first is opened in R, however, when i try to open the second. i received the following message:
>
> sites.can <- read.csv("SITES.csv")
> Error in read.table(file = file, header = header, sep = sep, quote = quote, :
> more columns than column names
>
> The second file works with the same command
> larynx.can <- read.csv("LARYNX.csv")
>
>
> SO, WHAT IS THE SOLUTIO????????????

  1. Please do not shout.
  2. Please read the posting guide.
  3. Please use a sensible subject.
  4. Please read ?read.csv
  5. You might want to check if the format of that csv files are really identical and check if the column names are strange (including comments or separators). If it still does not work, send us the first few lines of that file. We cannot look at it otherwise!

Uwe Ligges

> Regards
> Ahmed
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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. Received on Sat Jul 22 19:50:38 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 22 Jul 2006 - 20:15:35 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.