I am using R-1.8.0 on Debian.
I'm trying to read in a large table (1441*16) which currently has no
header line. I have set up a list of column names which is 16 names long.
when i try the following:
myfiledate.01-read.table(filenamedate.01,row.names=NULL,col.names=names,na.strings=-999.00)
I
Hi!
1.
assuning that names is the vector with the names.
try col.names=names instead of names
2.
Several ways
a)
use
lapply(listwithpathstofiles,read.tabel,remaining, options) //u will get it stored in
the list.
b)
or use for loop and append to list. mylist-list()
c)
or look
?assing
to
Thank you for your earlier help, I have a couple of related questions.
With the lapply function, is it still possible to assign column names to
each column of every data frame, again I have tried and it doesn't seem to
like it..
and is it also possible to assign names to each data frame when I