View source: R/setup-project.R
proj_py_use_venv | R Documentation |
This function sets the specified Python virtual environment as active for the current R session. It checks if the virtual environment exists at the specified path; if not, it throws an error.
proj_py_use_venv(venv = "venv_main")
venv |
The name of the virtual environment to activate. Default is 'venv_main'. |
NULL This function is used for its side effect of activating a Python virtual environment and does not return any value.
proj_py_use_venv("venv_main")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.