What is it you want to do with the data after you save it? Are you
just going to read it back into R? If so, consider using save/load.
On Fri, Jan 6, 2012 at 12:43 PM, Mary Kindall wrote:
> I have two one dimensional list of elements and want to perform cbind and
> then write into a file. The n
Sorry Mary,
My function would write the remainder twice, I had only tested it
with multiples of the chunk size.
(And without looking at the lenghty output correctly.)
Now checked:
write.big.matrix <- function(x, y, outfile, nmax=1000){
if(file.exists(outfile)) unlink(outfile)
testf <- f
Hello,
I believe this function can handle a problem of that size, or bigger.
It does NOT create the full matrix, just writes it to a file, a certain
number of lines at a time.
write.big.matrix <- function(x, y, outfile, nmax=1000){
if(file.exists(outfile)) unlink(outfile)
testf
On Jan 6, 2012, at 12:39 PM, Marc Schwartz wrote:
> On Jan 6, 2012, at 11:43 AM, Mary Kindall wrote:
>
>> I have two one dimensional list of elements and want to perform cbind and
>> then write into a file. The number of entries are more than a million in
>> both lists. R is taking a lot of time
On Jan 6, 2012, at 12:43 PM, Mary Kindall wrote:
I have two one dimensional list of elements and want to perform
cbind and
then write into a file. The number of entries are more than a
million in
both lists. R is taking a lot of time performing this operation.
Is there any alternate way to
On Jan 6, 2012, at 11:43 AM, Mary Kindall wrote:
> I have two one dimensional list of elements and want to perform cbind and
> then write into a file. The number of entries are more than a million in
> both lists. R is taking a lot of time performing this operation.
>
> Is there any alternate way
, 2012 12:43 PM
To: r-help@r-project.org
Subject: [R] cbind alternate
I have two one dimensional list of elements and want to perform cbind
and then write into a file. The number of entries are more than a
million in both lists. R is taking a lot of time performing this
operation.
Is there any
I have two one dimensional list of elements and want to perform cbind and
then write into a file. The number of entries are more than a million in
both lists. R is taking a lot of time performing this operation.
Is there any alternate way to perform cbind?
x = table1[1:100,1]
y = table2[1:100
8 matches
Mail list logo