store_large_object {rush}R Documentation

Store Large Objects

Description

Store large objects to disk and return a reference to the object.

Usage

store_large_object(obj, path)

Arguments

obj

(any)
Object to store.

path

(character(1))
Path to store the object.

Value

list() of class "rush_large_object" with the name and path of the stored object.

Examples

obj = list(a = 1, b = 2)
rush_large_object = store_large_object(obj, tempdir())

[Package rush version 0.1.1 Index]