Skip to contents

Install aif360 and its dependencies

Usage

install_aif360(
  method = c("auto", "virtualenv", "conda"),
  conda = "auto",
  version = "default",
  envname = NULL,
  extra_packages = NULL,
  restart_session = TRUE,
  conda_python_version = "3.7",
  ...
)

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. Note also that since this command runs without privilege the "system" method is available only on Windows.

conda

The path to a conda executable. Use "auto" to allow reticulate to automatically find an appropriate conda binary. See Finding Conda and conda_binary() for more details.

version

AIF360 version to install. Specify "default" to install the latest release.

envname

Name of Python environment to install within

extra_packages

Additional Python packages to install.

restart_session

Restart R session after installing (note this will only occur within RStudio).

conda_python_version

the python version installed in the created conda environment. Python 3.6 is installed by default.

...

other arguments passed to [reticulate::conda_install()] or [reticulate::virtualenv_install()].