elyakhlifi mustapha wrote: > sorry, > I don't undersatnd what happens > > Annee_O;Id_Essai;Id_Rep;Id_Geno;Id_Cult;Lib_Geno;St_Cult;Id_Par;X_Par;Y_Par;Id_Cara;Surf_O;Val_O;Ori_O;Stade_O;Date_O;Id_Bloc;Id_TrT1 > 2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;137;;9.4;P;;09/09/2004;1;0 > 2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;193;;189;P;;01/01/2004;1;0 > 2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;103;14.95;85;P;;09/09/2004;1;0 > 2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;177;;55.1;P;;05/10/2004;1;0 > 2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;138;14.95;6.3;P;;09/09/2004;1;0 > 2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;308;;140;P;;05/08/2004;1;0 > 2004;1006003;1;55096;1012999;Dally/1;;2;2;1;137;;8.9;P;;09/09/2004;1;0 > 2004;1006003;1;55096;1012999;Dally/1;;2;2;1;193;;192;P;;01/01/2004;1;0 > 2004;1006003;1;55096;1012999;Dally/1;;2;2;1;103;14.95;87;P;;09/09/2004;1;0 > > > > that's the begining of my table and I'm trying to read it from R but I can't > actually to read it I write this script > > >> donAP <- read.table("C:/Documents and Settings/melyakhlifi/Mes >> documents/feuilles >> excel/copi_donnees3.csv",header=TRUE,sep=";",quote="",dec=".") >> > Erreur dans scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, > : > la ligne 656 n'avait pas 18 �l�ments > > there's some errors and I don't understand why? > > The obvious question is what line 656 (+/- a couple of lines) actually contains...
x <- readLines("C:/Documents and Settings/melyakhlifi/Mes documents/feuilles excel/copi_donnees3.csv") length(x) x[656] x[653:658] # (if long enough) -- O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ 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.