The compiled network is exposed via an Xptr and can be used in cpp code via the Rcpp package.
Make sure to link to this package using the LinkingTo field in the DESCRIPTION file of a
package, or with Rcpp::depends in C++ code.
compile(network, rateless = FALSE, force = FALSE, display_path = FALSE)
| network | a reaction network object created using |
|---|---|
| rateless | if |
| force | if |
| display_path | if |
Xptr to a compiled network object