View source: R/conda_support.R
| restore_conda_env | R Documentation |
Restore a conda environment from a previously exported environment file
restore_conda_env(
env_file = "conda_environment.yml",
env_name = NULL,
use_mamba = FALSE,
force = FALSE
)
env_file |
Character. Path to environment YAML file. Default "conda_environment.yml" |
env_name |
Character. Name for the new environment. If NULL, uses name from file. |
use_mamba |
Logical. Use mamba instead of conda. Default FALSE. |
force |
Logical. Remove existing environment if it exists. Default FALSE. |
Logical. TRUE if successful, FALSE otherwise
## Not run:
# Restore environment from file
restore_conda_env("conda_environment.yml")
# Use mamba for faster installation
restore_conda_env("conda_environment.yml", use_mamba = TRUE)
# Force recreate if exists
restore_conda_env("conda_environment.yml", force = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.