Why are you not using read.csv or read.csv2 when you are reading a csv file?

-------- Original Message  --------
Subject: [R] to read table
From: elyakhlifi mustapha <[EMAIL PROTECTED]>
To: [email protected]
Date: 18.06.2007 09:23
> 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?
>
>

______________________________________________
[email protected] 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