Solving Differential Equations in R

Although R is still predominantly applied for statistical analysis and graphical representation, it is rapidly becoming more suitable for mathematical computing. One of the fields where considerable progress has been made recently is the solution of differential equations. Here we give a brief overview of differential equations that can now be solved by R.

Karline Soetaert , Thomas Petzoldt , R. Woodrow Setzer

CRAN packages used

limSolve, rootSolve, deSolve, bvpSolve, ReacTran, PBSddesolve, sde, pomp, bvpSolve, ReacTran, deSolve, deSolve, ReacTran, deSolve, odesolve, odesolve, nlmeODE, FME, ccems, ReacTran

CRAN Task Views implied by cited packages

DifferentialEquations, Pharmacokinetics, TimeSeries, Bayesian, Finance, Optimization


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Soetaert, et al., "Solving Differential Equations in R", The R Journal, 2010

BibTeX citation

  author = {Soetaert, Karline and Petzoldt, Thomas and Setzer, R. Woodrow},
  title = {Solving Differential Equations in R},
  journal = {The R Journal},
  year = {2010},
  note = {},
  doi = {10.32614/RJ-2010-013},
  volume = {2},
  issue = {2},
  issn = {2073-4859},
  pages = {5-15}