Description Usage Arguments Details
R functions for managing Python virtual environments.
1 2 3 4 5 6 7 8 9 10 11 12 13 | virtualenv_list()
virtualenv_create(envname = NULL, python = NULL)
virtualenv_install(envname = NULL, packages, ignore_installed = TRUE,
...)
virtualenv_remove(envname = NULL, packages = NULL,
confirm = interactive())
virtualenv_root()
virtualenv_python(envname = NULL)
|
envname |
The name of, or path to, a Python virtual environment. If
this name contains any slashes, the name will be interpreted as a path;
if the name does not contain slashes, it will be treated as a virtual
environment within |
python |
The path to a Python interpreter, to be used with the created
virtual environment. When |
packages |
A character vector with package names to install or remove. |
ignore_installed |
Boolean; ignore previously-installed versions of the
requested packages? (This should normally be |
... |
Optional arguments; currently ignored for future expansion. |
confirm |
Boolean; confirm before removing packages or virtual environments? |
Virtual environments are by default located at ~/.virtualenvs
(accessed
with the virtualenv_root
function). You can change the default location by
defining defining the WORKON_HOME
environment variable.
Virtual environment functions are not supported on Windows (the use of conda environments is recommended on Windows).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.