goose_session_start: Start a gooseR session for tracking saved items

View source: R/memory_bulk.R

goose_session_startR Documentation

Start a gooseR session for tracking saved items

Description

Note: To automatically tag items with the session ID, you need to manually add the session tag when saving, or use the wrapper functions.

Usage

goose_session_start(session_id = NULL)

Arguments

session_id

Character, optional session identifier

Value

Character, the session ID

Examples

## Not run: 
# Start a session
session_id <- goose_session_start()

# Save items (manually tag with session)
goose_save(mtcars, "cars_data", category = "analysis", 
           tags = c("myanalysis", getOption("goose.session_id")))

# See what was saved in this session
goose_session_list()

# Clean up session
goose_session_clear()
goose_session_end()

## End(Not run)

gooseR documentation built on Feb. 6, 2026, 5:07 p.m.