Serialises data to a temporary JSON file and uploads it to backend under name. This is a convenience wrapper around rack_upload() that handles JSON serialisation automatically.

rack_save(backend, data, ..., name)

Arguments

backend

A rack backend object (e.g. a pins_board).

data

An R object to serialise and store (typically the session list returned by the blockr session machinery).

...

Additional arguments forwarded to rack_upload().

name

Character scalar. The name under which the session will be stored.

Value

A rack_id object identifying the newly created version, returned invisibly by the underlying rack_upload() call.

See also

rack_load() for the complementary load function, rack_upload() for the underlying upload generic.