Skip to contents

Install ssw-py and its dependencies

Usage

install_ssw_py(
  ...,
  envname = "r-ssw-py",
  new_env = identical(envname, "r-ssw-py")
)

Arguments

...

Other arguments passed to reticulate::py_install().

envname

The name or full path of the environment in which ssw-py is installed. Default is r-ssw-py.

new_env

Logical. If TRUE, the specified Python environment will be deleted and recreated if it already exists. Defaults to TRUE only when using the default environment name.

Value

Invisibly returns NULL. Primarily used for its side effect of installing the Python package in the specified environment.

Examples

if (FALSE) { # is_installed_ssw_py()
install_ssw_py()
}