View source: R/setup-project.R
proj_py_install_pkgs | R Documentation |
This function installs the specified Python packages into the given virtual environment. It attempts to install each package and catches any errors during the installation process.
proj_py_install_pkgs(pkgs, venv = "venv_main", ...)
pkgs |
A vector of package names to install. |
venv |
The name of the virtual environment where packages will be installed. Default is 'venv_main'. |
... |
Additional arguments passed to |
NULL This function attempts to install packages and handles errors silently, returning no value.
proj_py_install_pkgs(c("numpy", "pandas"), "venv_main")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.