setPythonEnvir: Sets the python environment to be used

Description Usage Arguments Details See Also Examples

View source: R/r-helper-utilites-python.R

Description

Sets the python environment to be used

Usage

1
setPythonEnvir(type = "conda", pathOrEnvirName = "base")

Arguments

type

Type of python environment. Takes three possible vales - 'conda' for Anaconda environments, 'virtualenv' for Virtual environments, and 'python' to manually set the python path to use

pathOrEnvirName

Name of the environment for Anaconda and Virtual environments, or the Python path when type is 'python'

Details

Wrapper function over reticulate functions to set a python environment to be used

See Also

Other R helper utilities for Python: getFeaturesForPyClassification, getTargetForPyClassification

Examples

1
2
3
4
## Not run: 
setPythonEnvir()

## End(Not run)

analysisPipelines documentation built on July 1, 2020, 7:09 p.m.