[R-pkg-devel] Virtual C++ functions

Henrik Sloot henr|k@@|oot @end|ng |rom gm@||@com
Wed Nov 15 12:58:36 CET 2023


I believe RcppNumerical is doing this.

Best
Henrik

> Am 15.11.2023 um 10:37 schrieb Michael Meyer via R-package-devel <r-package-devel using r-project.org>:
> 
> Greetings,
> Suppose I wanted to develop a package with C++ code that contains virtual functions which the package user should define.It's assumed that evaluation is expensive so we do not want to define these in R and then call these R-functions from C++.
> Is this a reasonable idea with a standard solution?Are there packages that do this?
> Thanks in advance for all answers,  
> 
> Michael Meyer
> [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list