Learn R Programming

analysisPipelines (version 1.0.2)

setPythonEnvir: Sets the python environment to be used

Description

Sets the python environment to be used

Usage

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

Run this code
# NOT RUN {
setPythonEnvir()
# }

Run the code above in your browser using DataLab