RKWard_workplace {rkward} | R Documentation |
rk.save.workplace(file=NULL, description=NULL) rk.restore.workplace(file=NULL, close.windows=TRUE)
file |
a character string giving the url of the file to save to, or NULL for automatic selection of a suitable file (see Details). |
description |
For internal use, only. A character string describing the workplace status to save. Generally, you should leave this as the default value ( |
close.windows |
a logical; whether current windows should be closed before restoring. |
rk.save.workplace
can be used to save a representation of the RKWard workplace (i.e. which scripts, data edtiors and other windows are shown) to a file. rk.restore.workplace
restores an RKWard workplace as saved by rk.save.workplace
.
If the file
parameter is omitted (or NULL
), a suitable filename is selected automatically. If a workspace has been loaded, this is the URL of the workspace with an appended .rkworkplace
. Otherwise a filename in the RKWard directory, as generated by rk.get.tempfile.name.
NOTE: Not all types of windows can be saved and restored. Esp. graphics device windows will not be restored (but WILL be closed by rk.restore.workplace()
, if close.windows
is TRUE).
Both functions return NULL
.
Thomas Friedrichsmeier rkward-devel@lists.sourceforge.net
rkward://page/rkward_for_r_users, rk.get.workspace.url
## Not run rk.save.workplace () rk.restore.workplace () ## End not run