R
workspaces via box.comThese convenience functions aim to provide analagous functionality to
load
and save.image
(or
save
), but for .RData
files stored on box.com, as
opposed to locally.
box_save(..., dir_id = box_getwd(), file_name = ".RData",
description = NULL)box_save_image(dir_id = box_getwd(), file_name = ".RData",
description = NULL)
box_load(file_id)
The objects to be saved. Quoted or unquoted. Passed to
save
.
The box.com folder id where the objects will be stored as a
.RData
file.
The name you'd like your .Rdata
file saved as. For
example, "myworkspace.RData"
Optional. character
. A string to be used as the
description caption for the file (added via
box_add_description
). Useful for describing the contents of a
file, or describing the latest changes made to it. If NULL
(the
default), no description is added.
For box_load
, the box.com id of the .RData
or
.rda
file you'd like to load into your workspace.
box_load
returns a character vector of the names of objects
created, invisibly. box_save
and box_save_image
are used for
their side effects, and doen't return anything.
box_save
saves an .RData file using
save.image
if objects
is not supplied or
save
if it is. The file is then uploaded to box.com via
box_ul
.
box_load
downloads a file from box.com using box_dl
,
and then load
s it into the current workspace.
The base R functions which these wrap; save
,
save.image
and load
.