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.
- force
Whether to force removal without confirmation.
Default is FALSE.
Value
Invisibly returns TRUE if successful, FALSE otherwise.
Details
This function removes a conda environment completely.
This action cannot be undone, so use with caution.
If the environment is currently active, it will be deactivated first.
Examples
if (FALSE) { # \dontrun{
# Remove the default scop environment
RemoveEnv()
# Remove a specific environment
RemoveEnv("my_old_env")
# Force removal without confirmation
RemoveEnv("my_old_env", force = TRUE)
} # }