View source: R/install_python_package.R
install_python_package | R Documentation |
Install one Python package
install_python_package( package_name, channel = character(), ormr_folder_name = get_default_ormr_folder_name(), python_version = get_default_python_version(), verbose = FALSE )
package_name |
the name of one Python package |
channel |
the channel to install Python packages from,
e.g. |
ormr_folder_name |
can be either |
python_version |
the version of Python used. Use get_default_python_version to get the default Python version. |
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
nothing
Richèl J.C. Bilderbeek
use install_python_packages to install one or more Python packages
# Use local python3 if (plinkr::is_on_ci() && is_conda_installed()) { install_python_package( package_name = "scipy", ormr_folder_name = "python3" ) } # Use conda if (plinkr::is_on_ci() && is_conda_installed()) { install_python_package( package_name = "scipy" ) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.