Thanks! yes it WORKS Anne ----- Original Message ----- From: "Mathieu Ros" <[EMAIL PROTECTED]> To: "Anne Piotet" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 4:58 PM Subject: Re: [R] How to read in data
> >>>>> "AP" == Anne Piotet <[EMAIL PROTECTED]> disait: > > AP> Hello, I'm new to R and in the process of testing it My first > AP> question: I fail to read in my data (ANSI toto.txt file, tab > AP> separated) > >> test <-read.table("toto.txt") > AP> Error in file(file, "r") : unable to open > AP> connection In addition: Warning message: cannot open file > AP> `toto.txt' > >> test <- scan("C:\\toto.txt") > AP> Error in scan("C:\\toto.txt") : "scan" expected a > AP> real, got "No_D" > >> test <-scan("test.dat") > AP> Error in file(file, "r") : unable to open > AP> connection In addition: Warning message: cannot open file > AP> `toto.txt (and no, it is not read only or locked or whatever) > AP> I use Windows 2000/XP > > I think > read.table("C:\\toto.txt",header=TRUE) > will do the job : the message you got on your first and third attempts > means that you gave a wrong path to your file. > otherwise, read the help for read.table carefully (header and skip parameters). > > AP> second question...what are the size limits of statistical > AP> files I can handle? I plan to analize plant datas (up to > AP> 500'000 records, from which I will analize a restrictive set > AP> of variates ) Even when broken down by some chracteristics, > AP> the data to analize can have 50'000-100'000 records > > AP> Well thank for the help Anne > de rien ;) > > regards, > > --Mathieu > > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help