[R-sig-dyn-mod] Compiled code for deSolve

Thomas Petzoldt Thomas.Petzoldt at TU-Dresden.de
Thu Nov 29 23:21:10 CET 2012


Hi Daniel,

I have not tested it yet, but it should be no principle problem to call 
an Rcpp function from ode similar to an ordinary R function.

However, the compiled code interface of the deSolve solvers is also able 
to communicate with C and Fortran *directly*, without transferring 
control back to R. This is even faster, but works with C and Fortran 
only, and has nothing to do with Rcpp. Nevertheless, calling C++ would 
be also possible by using an "external" interface.

Hope it helps

Thomas

-- 
Dr. Thomas Petzoldt
Technische Universitaet Dresden
Faculty of Environmental Sciences
Institute of Hydrobiology
01062 Dresden, Germany

E-Mail: thomas.petzoldt at tu-dresden.de
http://tu-dresden.de/Members/thomas.petzoldt



More information about the R-sig-dynamic-models mailing list