virtualenv-tools: Interface to virtualenv

Description Usage Arguments Details Value

Description

R functions for managing Python virtual environments

Usage

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())

Arguments

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

Details

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).

Value

virtualenv_list() returns a chracter vector with the names of available virtual environments. virtualenv_root() returns the root directory for virtual environments.


Mormukut11/R-interface-to-Python documentation built on May 21, 2019, 9:36 a.m.