Skip to content
Back to formatted view

Raw Message

Message-ID: <41A71830.9040002@statistik.uni-dortmund.de>
Date: 2004-11-26T11:49:04Z
From: Uwe Ligges
Subject: problem of writting large data into files
In-Reply-To: <6f3fc9ee0411260338158b5384@mail.gmail.com>

Hu Chen wrote:

> Hi all.
> I used to use write.table() to write data into file. However , it
> seems that write.table() waste a lot of memory on caching temporary
> variables. Thus it ofen fails on writting larg matrix/frame into file.
> I noticed that write.matrix() may be better. But how could I write the
> column names and row names into file, such as "date" "buy" "sell",
> instead of "[,1]" , "[,2]" , "[,3]"?

What about specifying colnames for the matrix / data frame?
[I guess we are talking about package MASS.]

Uwe Ligges





> Anyone has some experience about this? Any other functions work better?
> Thanks in advance.
>                              Tiger
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html