[Rd] write.table with rows and cols (PR#509)

edd@debian.org edd@debian.org
Tue, 4 Apr 2000 01:23:34 +0200 (MET DST)


Full_Name: Dirk Eddelbuettel
Version: 1.0.0 (patched)
OS: Linux
Submission from: (NULL) (192.139.71.69)


A frame with rownames and colnames got properly written, but the colnames
started 
without an offset -- but if the .csv file is read back in, the rownames column
now 
has the header of the first column.  

"Graphically", suppose a frame with two rows 1999 and 2000, and two columns foo
and 
bar, with content equal to the row/col index.

This should be written as

  ,foo,bar
  1999,11,12
  2000,21,22

but was written without the initial ","  (I used "," as the sep).

Am I making sense? 

Anyway, big thanks for R!

Dirk


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._