install_pm4py: Install PM4PY library

Description Usage Arguments Details Examples

View source: R/install.R

Description

Installs the pm4py package and its dependencies using pip since no Conda package is available. Further information on the parameters can be found in the reticulate package documentation: https://rstudio.github.io/reticulate/ In some cases (multiple Python versions installed) it might be useful to specify the exact path to the conda binary.

Usage

1
install_pm4py(method = "auto", conda = "auto", ...)

Arguments

method

Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows.

conda

Path to conda executable (or "auto" to find conda using the PATH and other conventional install locations).

...

Additional arguments passed to py_install().

Details

Additional requirements (a C++ compiler and GraphViz) of PM4PY might need to be installed to leverage all functionality; http://pm4py.pads.rwth-aachen.de/installation/

Examples

1
2
3
4
  pm4py::install_pm4py()

  # Specify path to conda
  pm4py::install_pm4py(method = "conda", conda = "/home/user/miniconda3/bin/conda")

pm4py documentation built on Jan. 8, 2020, 1:08 a.m.