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

2023-11-15 Thread Henrik Sloot
I believe RcppNumerical is doing this. Best Henrik > Am 15.11.2023 um 10:37 schrieb Michael Meyer via R-package-devel > : > > 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 >

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

2023-11-15 Thread Iñaki Ucar
On Wed, 15 Nov 2023 at 12:45, Michael Meyer via R-package-devel wrote: > > 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 an

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

2023-11-15 Thread Serguei Sokol
Le 15/11/2023 à 10:37, Michael Meyer via R-package-devel a écrit : 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 t

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

2023-11-15 Thread Duncan Murdoch
On 15/11/2023 4:37 a.m., Michael Meyer via R-package-devel wrote: 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 th