install_lamindb {laminr} | R Documentation |
Install LaminDB
Description
This function is deprecated and is replaced by a system which automatically
installs packages as needed. See import_module()
, require_module()
and
reticulate::py_require()
for details.
Create a Python environment containing lamindb or install lamindb into an existing environment.
Usage
install_lamindb(
...,
envname = "r-lamindb",
extra_packages = NULL,
new_env = identical(envname, "r-lamindb"),
use = TRUE
)
Arguments
... |
Additional arguments passed to |
envname |
String giving the name of the environment to install packages into |
extra_packages |
A vector giving the names of additional Python packages to install |
new_env |
Whether to remove any existing |
use |
Whether to attempt use the new environment |
Value
NULL
, invisibly
Examples
## Not run:
# Using import_module() will automatically install packages
ln <- import_module("lamindb")
# Create a Python environment with lamindb
# This approach is deprecated
install_lamindb()
# Add additional packages to the environment
install_lamindb(extra_packages = c("bionty", "wetlab"))
# Install into a different environment
install_lamindb(envvname = "your-env")
## End(Not run)
[Package laminr version 1.1.1 Index]