loadAndromeda: Load Andromeda from file

View source: R/LoadingSaving.R

loadAndromedaR Documentation

Load Andromeda from file

Description

Load Andromeda from file

Usage

loadAndromeda(fileName, options = list())

Arguments

fileName

The path where the object was saved using saveAndromeda().

options

A list containing Andromeda options. Currently the only supported option is 'threads'. Setting options = list(threads = 10) will set the database used by Andromeda to use 10 threads.

Value

An Andromeda object.

See Also

saveAndromeda()

Examples

# For this example we create an Andromeda object and save it to
# a temporary file locationL
fileName <- tempfile()
andr <- andromeda(cars = cars)
saveAndromeda(andr, fileName)

# Using loadAndromeda to load the object back:
andr <- loadAndromeda(fileName)

# Don't forget to close Andromeda when you are done:
close(andr)

# Cleaning up the file used in this example:
unlink(fileName)


Andromeda documentation built on June 8, 2025, 11:20 a.m.