Skip to content
Back to formatted view

Raw Message

Message-ID: <77EB52C6DD32BA4D87471DCD70C8D7001DE979@NA-PA-VBE03.na.tibco.com>
Date: 2008-11-06T20:12:01Z
From: William Dunlap
Subject: .C(..., DUP=FALSE) memory costs depending on input size?
In-Reply-To: <20368695.post@talk.nabble.com>

> -----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