get_env_dir | R Documentation |
Retrieve path to where environment should be created. Note: It retrieves the Path even if the environment is not created yet.
get_env_dir(env_name = "condathis-env")
env_name |
Character. Name of the Conda environment where the packages are going to be installed. Defaults to 'condathis-env'. |
A character string indicating the path where environments will be created.
condathis::with_sandbox_dir({
# Get the default environment directory
condathis::get_env_dir()
#> "/path/to/condathis/envs/condathis-env"
# Get the directory for a specific environment
condathis::get_env_dir("my-env")
#> "/path/to/condathis/envs/my-env"
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.