?write.table
If you read the help file, and do a little experimenting, you will see
that there is a parameter 'rownames=FALSE' that may answer your
question.
Also since you did not have column names on your input, you get V1,
V2,... You can put your own column names. It helps again to read the
help file on 'read.table' and look at the parameter 'col.names'.
There is also the colnames function. It also might help to (re)read
the Intro to R.
On Tue, Nov 17, 2009 at 8:27 PM, ychu066 <ychu066 at aucklanduni.ac.nz>
wrote:
Moreover, ?I want to rename the column name V1,V2,V3,V4.....V146. ?how do
i
write the code in R ???
thanks everyone that look at the thread/
ychu066 wrote:
hi everyone, i am having difficulties with replacing the dates format in
R
for exporting the data set...
eg: the code that i used was
toms_dat<- replace(toms_dat, toms_dat ==2009-08-06, 2)
toms_dat<- replace(toms_dat, toms_dat ==2009-08-04, 1)
but when i export the data as into txt file or excel file the dates come
up with very large numbers .....:drunk:
please help me ...=)