[Rcpp-devel] Rcpp-devel Digest, Vol 19, Issue 10
Davor Cubranic
cubranic at stat.ubc.ca
Mon May 16 22:08:35 CEST 2011
It's Romain's trick, really, as you can see from the thread Dirk mentioned. I was just the first to use it in a CRAN package.
Davor
On 2011-05-15, at 7:04 AM, Dirk Eddelbuettel wrote:
>
> On 15 May 2011 at 01:43, Christian Gunning wrote:
> | On Sat, May 14, 2011 at 6:46 PM,
> | <rcpp-devel-request at r-forge.wu-wien.ac.at> wrote:
> | >
> | > There is also Davor's trick of getting the C++ function pointer---this avoids
> | > the 'going back to R' overhead. But it is not really clean to call an API
> | > that way if the API decided to close off those access points...
> |
> | Eh? Haven't seen that before -- where does it live? Let's doc it if it's sane...
>
> As I wrote _in the very next paragraph_ of the email you quote from ;-) :
>
> -- Package rgam on CRAN is one place
>
> -- previous mails here as e.g. Romain's second post in the this thread
> http://thread.gmane.org/gmane.comp.lang.r.rcpp/408
>
> Dirk
>
> --
> Gauss once played himself in a zero-sum game and won $50.
> -- #11 at http://www.gaussfacts.com
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
More information about the Rcpp-devel
mailing list