Skip to content
Prev 583 / 696 Next

[R-sig-dyn-mod] lsoda FASTER than ode45

Yes, there are several approaches and packages for automatic code 
generation, e.g. package cOde:

https://CRAN.R-project.org/package=cOde

that compiles inline C code embedded in R and is very easy to use. A 
similar package is ccSolve (from R-Forge):

https://r-forge.r-project.org/projects/ccsolve/


For bigger models, written in stoichiometry matrix formulation, you may 
consider package rodeo (r-ode-o-bjects):

https://cran.r-project.org/package=rodeo

https://github.com/dkneis/rodeo/blob/master/vignettes/rodeoVignette.pdf

The package creates fast Fortran code and provides tools to embed this 
in applications. Multi-box and 1D applications are also supported. 
Additional publications, talks and other stuff is found online. I can 
send you more material on request.

Thomas
On 22.11.2017 12:42, Maciek Jacek Swat wrote: