Usage in R via
ixmp is fully usable in R via reticulate, a package that allows nearly seamless access to the Python API.
No additional R packages are needed.
rixmp package was removed in
ixmp v3.3.0 (2021-05-28).
Once installed, use reticulate to import the Python package:
library(reticulate) ixmp <- import("ixmp")
This creates a global variable,
ixmp, that can be used much like the Python module:
mp <- ixmp$Platform(name = 'default') scen <- ixmp$Scenario(mp, 'model name', 'scenario name', version = 'new')
Finally, see the R versions of the Tutorials.