Learn R Programming

PatientLevelPrediction (version 6.4.1)

setPythonEnvironment: Use the python environment created using configurePython()

Description

Use the python environment created using configurePython()

Usage

setPythonEnvironment(envname = "PLP", envtype = NULL)

Value

A string indicating the which python environment will be used

Arguments

envname

A string for the name of the virtual environment (default is 'PLP')

envtype

An option for specifying the environment as'conda' or 'python'. If NULL then the default is 'conda' for windows users and 'python' for non-windows users

Details

This function sets PatientLevelPrediction to use a python environment

Examples

Run this code
 # dontrun reason: don't modify environment in examples 
if (FALSE)  #' # create a conda environment named PLP
configurePython(envname="PLP", envtype="conda")

Run the code above in your browser using DataLab