Skip to contents

Install all python packages in the SCP environment automatically. The environment will be created using a Conda environment.

Usage

PrepareEnv(
  method = "auto",
  pip = FALSE,
  user = FALSE,
  force = FALSE,
  update = "all"
)

Arguments

method

Installation method. By default, "auto" automatically find 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.

pip

Whether to use pip for installing packages. This is only relevant when `conda = "auto".

user

Whether to install packages into a user site library, instead of the default system site library. Note that this argument is only relevant when using the Conda package manager. This is only relevant when `pip = TRUE`.

force

Force reinstall the SCP python environment.

update

Whether to update packages that already exist within the environment. Note that this parameter is only supported on Conda package manager. The available options are "default", "all", and "selected". "default" only updates the selected packages to the latest versions specified. "all" Update all packages in the environment. An alternative is "selected" to update selected packages to the latest versions while leaving all other packages. within the environment alone.