[R] modifying argument of a .C call (DUP=FALSE)

2005-08-08 Thread Tamas K Papp
I have a huge matrix on which I need to do a simple (elementwise) transformation. Two of these matrices cannot fit in the memory, so I cannot do this in R. I thought of writing some C code to do this and calling it using .C with DUP=FALSE. All I need is a simple for loop that replaces elements

Re: [R] modifying argument of a .C call (DUP=FALSE)

2005-08-08 Thread Peter Dalgaard
Tamas K Papp [EMAIL PROTECTED] writes: I have a huge matrix on which I need to do a simple (elementwise) transformation. Two of these matrices cannot fit in the memory, so I cannot do this in R. I thought of writing some C code to do this and calling it using .C with DUP=FALSE. All I

Re: [R] modifying argument of a .C call (DUP=FALSE)

2005-08-08 Thread Prof Brian Ripley
On Mon, 8 Aug 2005, Peter Dalgaard wrote: Tamas K Papp [EMAIL PROTECTED] writes: I have a huge matrix on which I need to do a simple (elementwise) transformation. Two of these matrices cannot fit in the memory, so I cannot do this in R. I thought of writing some C code to do this and