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@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@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel