Learn R Programming

laminr (version 1.0.1)

import_module: Import Python modules

Description

This function can be used to import LaminDB Python modules with additional checks and nicer error messages.

Usage

import_module(module)

Value

An object representing a Python package

Arguments

module

The name of the Python module to import

Examples

Run this code
if (FALSE) {
# Import lamindb to start interacting with an instance
ln <- import_module("lamindb")

# Import other LaminDB modules
bt <- import_module("bionty")
wl <- import_module("wetlab")
cc <- import_module("clincore")

# Import any Python module
np <- import_module("numpy")
}

Run the code above in your browser using DataLab