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

Dirk Eddelbuettel edd@debian.org
Tue, 4 Apr 2000 08:34:53 -0400

With my head hanging low as this is a non-bug:

On Tue, Apr 04, 2000 at 07:25:01AM +0100, Prof Brian D Ripley wrote:
> On Tue, 4 Apr 2000 edd@debian.org wrote:
> > 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.  

> In the S convention, the header is regarded as separate, with a potentially
> different format from the rest of the file. If I have

Ahh. Shows once again that I am still a novice when it comes to S (and R).
You are of course correct -- re-reading works just fine as expected. No bug

But maybe the (extremely low-priority) need for new semantics -- I actually
only wrote the file to pass data on to my Excel using collegues at work, and
for them the csv _is_ wrong as the 'Dates' column (build from rownames) is
headerless, and the other headers are "shifted".  Having to hand-edit the
file for them is silly. 

Thanks,  Dirk

According to the latest figures, 43% of all statistics are totally worthless.
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