[R] to read table

Stefan Grosse singularitaet at gmx.net
Mon Jun 18 09:31:52 CEST 2007


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 <elyakhlifi_mustapha at yahoo.fr>
To: R-help at stat.math.ethz.ch
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?
>
>



More information about the R-help mailing list