[R] about read txt file

linda.s samrobertsmith at gmail.com
Thu Mar 23 09:56:49 CET 2006


I have txt file and use the following command to read it
to R:
z <- read.table("c:/temp/test.txt")
and I type z but the output is totally a mess; the test.txt is
strutured with the first line as the variable names and when use excel
to open it, all the vaules are well positioned. why in R it is totally
in a mess?
Linda




More information about the R-help mailing list