proj_py_use_venv: Use a Specific Python Virtual Environment

View source: R/setup-project.R

proj_py_use_venvR Documentation

Use a Specific Python Virtual Environment

Description

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.

Usage

proj_py_use_venv(venv = "venv_main")

Arguments

venv

The name of the virtual environment to activate. Default is 'venv_main'.

Value

NULL This function is used for its side effect of activating a Python virtual environment and does not return any value.

Examples

proj_py_use_venv("venv_main")


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.