reticulate (version 1.13)

use_python: Configure which version of Python to use

Description

Configure which version of Python to use

Usage

use_python(python, required = FALSE)

use_virtualenv(virtualenv = NULL, required = FALSE)

use_condaenv(condaenv = NULL, conda = "auto", required = FALSE)

Arguments

python

Path to Python binary

required

Is this version of Python required? If TRUE then an error occurs if it's not located. Otherwise, the version is taken as a hint only and scanning for other versions will still proceed.

virtualenv

Directory of Python virtualenv

condaenv

Name of Conda environment

conda

Conda executable. Default is "auto", which checks the PATH as well as other standard locations for Anaconda installations.