use_python: Configure which version of Python to use

Description Usage Arguments

View source: R/use_python.R

Description

Configure which version of Python to use

Usage

1
2
3
4
5
use_python(python, required = FALSE)

use_virtualenv(virtualenv, required = FALSE)

use_condaenv(condaenv, 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.


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