[Rd] .C(..., DUP=FALSE) memory costs depending on input size?
William Dunlap
wdunlap at tibco.com
Thu Nov 6 21:12:01 CET 2008
> -----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
More information about the R-devel
mailing list