search for: rownames_colnames

Displaying 1 result from an estimated 1 matches for "rownames_colnames".

2009 Sep 17
1
How write the same number of elements in the first line as the rest of the file with write.table()?
Hi, The first line has less elements than the rest of 'rownames_colnames.write.table.xls'. I am wondering if there is a way to print an additional '\t' at the beginning of the first line. $ Rscript write.table.R > x=matrix(1:20,nc=2) > rownames(x)=letters[1:10] > colnames(x)=letters[1:2] > write.table(x,"rownames_colnames.write.table.xls&qu...