use_python
From reticulate v1.18
by Kevin Ushey
Configure which version of Python to use
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)
use_miniconda(condaenv = NULL, 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 thePATH
as well as other standard locations for Anaconda installations.
Community examples
Looks like there are no examples yet.