Skip to contents

Remove a conda environment

Usage

RemoveEnv(envname = NULL, conda = "auto", force = FALSE)

Arguments

envname

The name of the conda environment to remove. If NULL, uses the default scop environment name.

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.

force

Whether to force removal without confirmation. Default is FALSE.

Value

Invisibly returns TRUE if successful, FALSE otherwise.

Examples

if (FALSE) { # \dontrun{
# Remove default environment
RemoveEnv()

# Remove a specific environment
RemoveEnv("my_old_env")

# Removal without confirmation
RemoveEnv("my_old_env", force = TRUE)
} # }