r2sbml: Read 'SBML' Models and Convert Them to Simulation Code

Reads models in the Systems Biology Markup Language ('SBML') (Hucka et al. (2003) <doi:10.1093/bioinformatics/btg015>) through the bundled 'libSBML' library (Bornstein et al. (2008) <doi:10.1093/bioinformatics/btn051>). Lists a model's species, parameters, compartments, reactions, rules, events and function definitions, and converts the model into ready-to-run simulation code for 'deSolve', 'mrgsolve', 'rxode2', 'MATLAB', 'Julia' or 'ubiquity'. Parameter values, compartment sizes and species initial values can be edited, and the model written back to an 'SBML' file.

Version: 0.3.0
Imports: Rcpp (≥ 0.12.6)
LinkingTo: Rcpp
Suggests: deSolve, knitr, mrgsolve, rmarkdown, rxode2, sundialr, testthat (≥ 3.0.0), ubiquity
Published: 2026-11-29
DOI: 10.32614/CRAN.package.r2sbml
Author: Satyaprakash Nayak [aut, cre, cph], Sarah M. Keating [ctb] (Author of 'libSBML' and of the example code adapted in src/convertReactions.cpp and src/getMath.cpp), Frank T. Bergmann [ctb] (Author of 'libSBML' and of the example code adapted in src/convertReactions.cpp and src/getMath.cpp), Lucian P. Smith [ctb] (Author of 'libSBML'), Brett G. Olivier [ctb] (Author of 'libSBML'), Akiya Jouraku [ctb] (Author of 'libSBML'), Michael Hucka [ctb] (Author of 'libSBML'), Ben Bornstein [ctb] (Author of 'libSBML'), Jeroen Ooms [ctb] (Windows build support), California Institute of Technology [cph] (Copyright holder of 'libSBML', 2002-2020), EMBL European Bioinformatics Institute [cph] (Copyright holder of 'libSBML', 2009-2018), University of Heidelberg [cph] (Copyright holder of 'libSBML', 2013-2020), University College London [cph] (Copyright holder of 'libSBML', 2020), Japan Science and Technology Agency [cph] (Copyright holder of 'libSBML', 2002-2005), Gilles Vollant [cph] (Author of MiniZip, bundled with 'libSBML'), Mathias Svensson [cph] (Contributor to MiniZip, bundled with 'libSBML'), Even Rouault [cph] (Contributor to MiniZip, bundled with 'libSBML'), Nathan Moinvaziri [cph] (Contributor to MiniZip, bundled with 'libSBML'), Terry Thorsen [cph] (Contributor to MiniZip, bundled with 'libSBML'), Info-ZIP [cph] (Copyright holder of encryption code in MiniZip, bundled with 'libSBML'), Ludwig Schwardt [cph] (Author of the zlib iostream wrappers bundled with 'libSBML'), Kevin Ruland [cph] (Author of the zlib iostream wrappers bundled with 'libSBML'), M. Petra Baranski [cph] (Author of 'maddy', bundled with 'libSBML'), Tim Gromeyer [cph] (Author of 'html2md', bundled with 'libSBML')
Maintainer: Satyaprakash Nayak <satyaprakash.nayak at gmail.com>
BugReports: https://github.com/sn248/r2sbml/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: See file inst/COPYRIGHTS
r2sbml copyright details
URL: https://sn248.github.io/r2sbml/, https://github.com/sn248/r2sbml
NeedsCompilation: yes
SystemRequirements: cmake, libxml2
Language: en-GB
Materials: README, NEWS
CRAN checks: r2sbml results

Documentation:

Reference manual: r2sbml.html , r2sbml.pdf
Vignettes: Getting started with r2sbml (source, R code)
Editing a model and saving it as SBML (source, R code)
Limitations and unimplemented behaviour (source, R code)

Downloads:

Package source: r2sbml_0.3.0.tar.gz
Windows binaries: r-devel: r2sbml_0.1.1.zip, r-release: r2sbml_0.1.1.zip, r-oldrel: r2sbml_0.1.1.zip
macOS binaries: r-release (arm64): r2sbml_0.3.0.tgz, r-oldrel (arm64): r2sbml_0.3.0.tgz, r-release (x86_64): r2sbml_0.3.0.tgz, r-oldrel (x86_64): r2sbml_0.3.0.tgz
Old sources: r2sbml archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=r2sbml to link to this page.