Skip to contents

Stacks all live in a singleton workspace.

Usage

set_workspace(
  ...,
  title = "",
  settings = NULL,
  force = FALSE,
  workspace = get_workspace()
)

restore_workspace(x, force = FALSE, workspace = get_workspace())

save_workspace(file, workspace = get_workspace())

get_workspace()

is_workspace(x)

add_workspace_stack(name, stack, force = FALSE, workspace = get_workspace())

set_workspace_stack(name, stack, force = FALSE, workspace = get_workspace())

rm_workspace_stacks(name, force = FALSE, workspace = get_workspace())

rm_workspace_stack(name, force = FALSE, workspace = get_workspace())

set_workspace_title(title, workspace = get_workspace())

set_workspace_settings(settings, workspace = get_workspace())

list_workspace_stacks(workspace = get_workspace())

clear_workspace(workspace = get_workspace())

get_workspace_stack(name, workspace = get_workspace())

get_workspace_stacks(names = NULL, workspace = get_workspace())

get_workspace_title(workspace = get_workspace())

get_workspace_settings(workspace = get_workspace())

serve_workspace(
  ...,
  clear = NULL,
  id = "myworkspace",
  workspace = get_workspace()
)

Arguments

...

Passed to set_workspace()

title

The workspace title

settings

An (optional) list of settings (a string ist parsed as JSON)

force

Force overwrite existing stacks (otherwise may throw warning)

workspace

The workspace environment

x

(Workspace) object

file

Filename

name

Stack name

stack

A single stack

names

Stack names

clear

Clear current worspace

id

Workspace ID