.C(..., DUP=FALSE) memory costs depending on input size?
-----Original Message----- From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-project.org] On Behalf Of MarcelK Sent: Thursday, November 06, 2008 12:06 PM To: r-devel at r-project.org Subject: [Rd] .C(..., DUP=FALSE) memory costs depending on input size? Hello, I'm trying to create my own C code for use within R. While optimizing the code I've noticed that even while only using pointers to get my data to C the time needed still depends on data (vector) size.
Does using NAOK=TRUE in the .C() help? That would avoid an NA-scan of the input vectors. Bill Dunlap TIBCO Spotfire Inc wdunlap tibco.com