check_Python | R Documentation |
Check and install python packages
check_Python(
packages,
envname = NULL,
conda = "auto",
force = FALSE,
pip = TRUE,
pip_options = character(),
...
)
packages |
A character vector, indicating package names which should be installed or removed. Use |
envname |
The name of a conda environment. |
conda |
The path to a conda executable. Use |
force |
Whether to force package installation. Default is |
pip |
Whether to use pip for package installation. By default, packages are installed from the active conda channels. |
pip_options |
An optional character vector of additional command line arguments to be passed to |
... |
Other arguments passed to |
check_Python(packages = c("bbknn", "scanorama"))
## Not run:
check_Python(packages = "scvi-tools==0.20.0", envname = "SCP_env", pip_options = "-i https://pypi.tuna.tsinghua.edu.cn/simple")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.