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

activate_env(conda_env = "echoR", verbose = TRUE)

Arguments

conda_env

Conda environment to use.

verbose

Print messages.

See also

Examples

# importFrom reticulate conda_list use_condaenv use_python conda_list
echoconda::activate_env(conda_env = "echoR")
#> echoconda:: Conda already installed.
#> echoconda:: Active conda env: 'r-reticulate'
#> echoconda:: Attempting to activate conda env: 'echoR'
#> [1] "echoR"