Sorry for the post. My mistake. The further investigation shows that .Call()
passes arrays/vectors by reference.
-Original Message-
From: Dirk Eddelbuettel [mailto:e...@debian.org]
Sent: Monday, January 13, 2014 6:27 PM
To: Boris Aronshtam
Cc: r-devel@r-project.org
Subject: Re: [Rd
I need to pass a large array to my C function. I am using .Call(). I can
clearly see according to the memory consumption (reported by gc()) that the
array is duplicated. Is there a way to avoid this duplication and pass the
array by reference?
[[alternative HTML version deleted]]
___
AM
To: r-devel@r-project.org; Boris Aronshtam
Subject: re: [Rd] Support for long arrays
You could look at some extension packages, bigmemory for example. A recent
paper http://www.jstatsoft.org/v55/i14 (though for more developer-level
capabilities you would need to look at the package itself
My machine has hundreds of GB of RAM. Is there a way to create an array having
more than 2 Billion (2^31) rows?
I am trying to create a large array using:
d = c(1e+10,2)
a=array(0,d)
This results in the error:
Error in array(0, d) : negative length vectors are not allowed
In addition: Warning
: Saturday, August 10, 2013 6:18 AM
To: Boris Aronshtam
Cc: r-devel@r-project.org
Subject: Re: [Rd] Creating data.frame from c-language
On 09/08/2013 22:48, Boris Aronshtam wrote:
> I need to create a data.frame from C-language and populate it. I Know how to
> create lists from C, but I cannot figu
I need to create a data.frame from C-language and populate it. I Know how to
create lists from C, but I cannot figure out how to create a data.frame. Does
anyone have a sample code for creating a data.frame, setting column names, and
populating it with data?
Thanks!
[[alternative HTML