Skip to contents

use_condaenv often doesn't work in practice, especially within RStudio. activate_env ensures the env is actually activated and used.

Usage

activate_env(
  conda_env = "echoR_mini",
  method = c("basilisk", "reticulate"),
  verbose = TRUE
)

Arguments

conda_env

Conda environment to use.

method

Method to use:

  • "basilisk"

  • "reticulate"

verbose

Print messages.

See also

Examples

if (FALSE) { # \dontrun{
conda_env <- echoconda::activate_env(conda_env = "echoR_mini")
} # }