> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of MarcelK > Sent: Thursday, November 06, 2008 12:06 PM > To: r-devel@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 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel