install_lamindb {laminr}R Documentation

Install LaminDB

Description

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")
)

Arguments

...

Additional arguments passed to reticulate::py_install()

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 virtualenv with the same name before creating a new one with the requested packages

Details

See vignette("setup", package = "laminr") for further details on setting up a Python environment

Value

NULL, invisibly

Examples

## Not run: 
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 0.3.1 Index]