Learn R Programming

gooseR (version 0.1.2)

goose_load: Load R Object from Goose Memory

Description

Retrieve a previously saved R object from Goose's memory system.

Usage

goose_load(name, category = "r_objects", global = TRUE)

Value

The R object that was saved

Arguments

name

Character string. Name of the object to load

category

Character string. Category where the object was saved (default: "r_objects")

global

Logical. If TRUE (default), loads from global memory. If FALSE, loads from project-local memory.

Examples

Run this code
if (FALSE) {
# Load a previously saved model
model <- goose_load("mtcars_model", category = "models")

# Load a dataset
data <- goose_load("iris_data", category = "datasets")
}

Run the code above in your browser using DataLab