What kind of file are you trying to read in R? If it is comma delimited, then try,
Z<-read. table(""c:/temp/q.txt", sep=",", header=TRUE) ##[header=TRUE if you have variable names in your file ## -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of linda.s Sent: Thursday, March 23, 2006 3:29 PM To: Chuck Cleland Cc: R-help@stat.math.ethz.ch Subject: [R] read txt? which kind of txt file can be read into R? can anyone give me an example? I used a txt file and the result is: Warning message: incomplete final line found by readTableHeader on 'c:/temp/q.txt' Linda ______________________________________________ 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 [[alternative HTML version deleted]] ______________________________________________ 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