Description Usage Arguments Details Value
R functions for managing Python virtual environments
1 2 3 4 5 6 7 8 9 | virtualenv_list()
virtualenv_root()
virtualenv_create(envname)
virtualenv_install(envname, packages, ignore_installed = FALSE)
virtualenv_remove(envname, packages = NULL, confirm = interactive())
|
envname |
Name of virtual environment |
packages |
Character vector with package names to install or remove. |
ignore_installed |
Ignore any previously installed versions of packages |
confirm |
Confirm before removing packages or virtual environments |
Virtual environments are by default located at ~/.virtualenvs
. You can change this
behavior by defining the WORKON_HOME
environment variable.
Virtual environment functions are not supported on Windows (the use of conda environments is recommended on Windows).
virtualenv_list()
returns a chracter vector with the names
of available virtual environments. virtualenv_root()
returns the
root directory for virtual environments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.