View source: R/HelperFunctions.R
configurePython | R Documentation |
Sets up a virtual environment to use for PLP (can be conda or python)
configurePython(envname = "PLP", envtype = NULL, condaPythonVersion = "3.11")
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 |
condaPythonVersion |
String, Python version to use when creating a conda environment |
This function creates a virtual environment that can be used by PatientLevelPrediction and installs all the required package dependancies. If using python, pip must be set up.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.