Package: pysd2r 0.1.0
pysd2r: API to 'Python' Library 'pysd'
Using the R package 'reticulate', this package creates an interface to the 'pysd' toolset. The package provides an R interface to a number of 'pysd' functions, and can read files in 'Vensim' 'mdl' format, and 'xmile' format. The resulting simulations are returned as a 'tibble', and from that the results can be processed using 'dplyr' and 'ggplot2'. The package has been tested using 'python3'.
Authors:
pysd2r_0.1.0.tar.gz
pysd2r_0.1.0.zip(r-4.5)pysd2r_0.1.0.zip(r-4.4)pysd2r_0.1.0.zip(r-4.3)
pysd2r_0.1.0.tgz(r-4.4-any)pysd2r_0.1.0.tgz(r-4.3-any)
pysd2r_0.1.0.tar.gz(r-4.5-noble)pysd2r_0.1.0.tar.gz(r-4.4-noble)
pysd2r_0.1.0.tgz(r-4.4-emscripten)pysd2r_0.1.0.tgz(r-4.3-emscripten)
pysd2r.pdf |pysd2r.html✨
pysd2r/json (API)
NEWS
# Install 'pysd2r' in R: |
install.packages('pysd2r', repos = c('https://jimduggan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jimduggan/pysd2r/issues
Last updated 6 years agofrom:218a2f9a32. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | NOTE | Nov 10 2024 |
R-4.5-linux | NOTE | Nov 10 2024 |
R-4.4-win | NOTE | Nov 10 2024 |
R-4.4-mac | NOTE | Nov 10 2024 |
R-4.3-win | NOTE | Nov 10 2024 |
R-4.3-mac | NOTE | Nov 10 2024 |
Exports:get_docget_final_timeget_initial_timeget_python_infoget_timesteppysd_connectread_vensimread_xmilereload_modelrun_modelset_componentsset_time_values
Dependencies:clievaluatefansiglueherehighrjsonliteknitrlatticelifecyclemagrittrMatrixpillarpkgconfigpngrappdirsRcppRcppTOMLreticulaterlangrprojroottibbleutf8vctrswithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Formats a table of variable names | get_doc |
Gets the final time from the model | get_final_time |
Gets the initial time from the model | get_initial_time |
Gets the current python configuration for reticulate | get_python_info |
Gets the time step (DT) from the model | get_timestep |
Creates an object to facilitate interaction with pysd | pysd_connect |
Loads a Vensim simulation file (mdl) | read_vensim |
Loads a XMILE simulation file (.xmile) | read_xmile |
Reloads the model from original mdl file | reload_model |
Runs a simulation model | run_model |
Changes a model parameter | set_components |
Sets the initial time, final time, and timestep | set_time_values |