Learn R Programming

laminr (version 1.0.1)

install_lamindb: 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"),
  use = TRUE
)

Value

NULL, invisibly

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

use

Whether to attempt use the new environment

Details

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

Examples

Run this code
if (FALSE) {
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")
}

Run the code above in your browser using DataLab