[R] How to load data file without attribute names?
44whyfrog
44whyfrog at 163.com
Sat Nov 27 13:45:47 CET 2010
Hi all,
I'm new to R and I'm struggling with loading a data file without attribute
names, like:
1,72,0,5.6431,28.199
1,72,0,12.666,28.447
1,72,0,19.681,28.695
1,72,0,25.647,28.905
It has no names for the columns nor the rows. I tried
data <- read.table(path,header = FALSE, sep = ",")
and it seems to work. But later, when I try qqnorm to plot the graph, it
gives me the error msg:
xy.coords(x, y, xlabel, ylabel, log) :
'x' and 'y' lengths differ
I think the reason might be that I load the file wrongly. What should I do
in this case?
--
View this message in context: http://r.789695.n4.nabble.com/How-to-load-data-file-without-attribute-names-tp3061489p3061489.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list