| goose_session_start | R Documentation |
Note: To automatically tag items with the session ID, you need to manually add the session tag when saving, or use the wrapper functions.
goose_session_start(session_id = NULL)
session_id |
Character, optional session identifier |
Character, the session ID
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.