Re: [R] to read table

From: Katharina Surovcik <katharina.surovcik_at_cs.uni-goettingen.de>
Date: Mon, 18 Jun 2007 09:38:56 +0200

That means that R doesn't see 21 elements in line 16 of your file. This can happen if one of your entries consists of two words, which are then read as two elements.

Katharina

elyakhlifi mustapha schrieb:
> Hello,
> I have a problem to read a csv table. To read it I used this syntax
>
>
>> donParCara <- read.table("C:/Documents and Settings/melyakhlifi/Mes documents/feuilles excel/calcul2.csv",header=TRUE,sep=";",quote="",dec=",")
>>
>
> I don't understand my errors
>
> Erreur dans scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
> la ligne 16 n'avait pas 21 éléments
>
> Can you help me please?
>
>
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
> [[alternative HTML version deleted]]
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help_at_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_at_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 Mon 18 Jun 2007 - 07:48:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Jun 2007 - 08:32:16 GMT.

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