Browse code

add description for sandbox related functions

Yihang Xin authored on 11/05/2021 05:09:30
Showing 24 changed files

... ...
@@ -394,5 +394,6 @@ importFrom(stats,na.omit)
394 394
 importFrom(stats,setNames)
395 395
 importFrom(utils,URLencode)
396 396
 importFrom(utils,browseURL)
397
+importFrom(utils,file_test)
397 398
 importFrom(utils,head)
398 399
 importFrom(utils,tail)
... ...
@@ -1,7 +1,7 @@
1 1
 # ------------------------------------------------------------------------------
2 2
 #' @title sandboxInitializer
3 3
 #'
4
-#' @description sandboxInitializer
4
+#' @description Start with a sandbox template and update properties using whatever is found in the new_sandbox.
5 5
 #' @param newSandbox newSandbox
6 6
 #' @param ... ...
7 7
 #' @return sandbox
... ...
@@ -30,7 +30,7 @@ sandboxInitializer <- function(newSandbox=NULL, ...){
30 30
 # ------------------------------------------------------------------------------
31 31
 #' @title setDefaultSandbox
32 32
 #'
33
-#' @description setDefaultSandbox
33
+#' @description Set and return the sandbox properties to be used as a default, probably based on whether a Notebook is running.
34 34
 #' @param newSandbox newSandbox
35 35
 #' @param ... ...
36 36
 #' @return default sandbox
... ...
@@ -46,7 +46,7 @@ setDefaultSandbox <- function(newSandbox=NULL, ...){
46 46
 # ------------------------------------------------------------------------------
47 47
 #' @title getDefaultSandbox
48 48
 #'
49
-#' @description getDefaultSandbox
49
+#' @description Return whatever is the current default sandbox properties.
50 50
 #' @return default sandbox
51 51
 #' @examples \donttest{
52 52
 #' getDefaultSandbox()
... ...
@@ -59,7 +59,7 @@ getDefaultSandbox <- function(){
59 59
 # ------------------------------------------------------------------------------
60 60
 #' @title setDefaultSandboxPath
61 61
 #'
62
-#' @description setDefaultSandboxPath
62
+#' @description Set and return the default path, which isn't one of the properties tracked in the default_sandbox.
63 63
 #' @param newPath new path of default sandbox 
64 64
 #' @return default sandbox path
65 65
 #' @examples \donttest{
... ...
@@ -74,7 +74,7 @@ setDefaultSandboxPath <- function(newPath){
74 74
 # ------------------------------------------------------------------------------
75 75
 #' @title getDefaultSandboxPath
76 76
 #'
77
-#' @description getDefaultSandboxPath
77
+#' @description Return the default path, which isn't one of the properties tracked in the default_sandbox.
78 78
 #' @return default sandbox path
79 79
 #' @examples \donttest{
80 80
 #' getDefaultSandboxPath()
... ...
@@ -87,7 +87,7 @@ getDefaultSandboxPath <- function(){
87 87
 # ------------------------------------------------------------------------------
88 88
 #' @title getCurrentSandboxName
89 89
 #'
90
-#' @description getCurrentSandboxName
90
+#' @description Return the current sandbox name.
91 91
 #' @return current sandbox name
92 92
 #' @examples \donttest{
93 93
 #' getCurrentSandboxName()
... ...
@@ -100,7 +100,7 @@ getCurrentSandboxName <- function(){
100 100
 # ------------------------------------------------------------------------------
101 101
 #' @title getCurrentSandboxPath
102 102
 #'
103
-#' @description getCurrentSandboxPath
103
+#' @description Return the current sandbox path.
104 104
 #' @return current sandbox path
105 105
 #' @examples \donttest{
106 106
 #' getCurrentSandboxPath()
... ...
@@ -113,7 +113,7 @@ getCurrentSandboxPath <- function(){
113 113
 # ------------------------------------------------------------------------------
114 114
 #' @title getCurrentSandbox
115 115
 #'
116
-#' @description getCurrentSandbox
116
+#' @description Return both the current sandbox name and path.
117 117
 #' @return current sandbox
118 118
 #' @examples \donttest{
119 119
 #' getCurrentSandbox()
... ...
@@ -127,7 +127,7 @@ getCurrentSandbox <- function(){
127 127
 # ------------------------------------------------------------------------------
128 128
 #' @title setCurrentSandbox
129 129
 #'
130
-#' @description setCurrentSandbox
130
+#' @description Set and return the current sandbox name and path.
131 131
 #' @param sandboxName sandboxName 
132 132
 #' @param sandboxPath sandboxPath 
133 133
 #' @return current sandbox
... ...
@@ -144,7 +144,7 @@ setCurrentSandbox <- function(sandboxName, sandboxPath){
144 144
 # ------------------------------------------------------------------------------
145 145
 #' @title setSandboxReinitialize
146 146
 #'
147
-#' @description setSandboxReinitialize
147
+#' @description Set and return flag indicating that next command should reinitialize the sandbox according to the default_sandbox.
148 148
 #' @param doReinitialize default is TRUE 
149 149
 #' @return sandbox reinitialize
150 150
 #' @examples \donttest{
... ...
@@ -159,7 +159,7 @@ setSandboxReinitialize <- function(doReinitialize=TRUE){
159 159
 # ------------------------------------------------------------------------------
160 160
 #' @title getSandboxReinitialize
161 161
 #'
162
-#' @description getSandboxReinitialize
162
+#' @description Return flag indicating that next command should reinitialize the sandbox according to the default_sandbox.
163 163
 #' @return sandbox reinitialize
164 164
 #' @examples \donttest{
165 165
 #' getSandboxReinitialize()
... ...
@@ -172,7 +172,7 @@ getSandboxReinitialize <- function(){
172 172
 # ------------------------------------------------------------------------------
173 173
 #' @title getAbsSandboxPath
174 174
 #'
175
-#' @description getAbsSandboxPath
175
+#' @description Get absolute sandbox path.
176 176
 #' @param fileLocation fileLocation 
177 177
 #' @return file location
178 178
 #' @examples \donttest{
... ...
@@ -195,7 +195,7 @@ getAbsSandboxPath <- function(fileLocation){
195 195
 # ------------------------------------------------------------------------------
196 196
 #' @title resetDefaultSandbox
197 197
 #'
198
-#' @description resetDefaultSandbox
198
+#' @description Reset the entire state of the sandbox system.
199 199
 #' @examples \donttest{
200 200
 #' resetDefaultSandbox()
201 201
 #' }
... ...
@@ -3,7 +3,16 @@
3 3
 # ------------------------------------------------------------------------------
4 4
 #' @title sandboxSet
5 5
 #'
6
-#' @description sandboxSet
6
+#' @description Set a new default sandbox, creating it if necessary.
7
+#' A sandbox is the root for the file system used for all file operations. When running standalone
8
+#' on the same workstation as Cytoscape, the default sandbox is the directory that's current for
9
+#' the R kernel. When running in a Notebook or remote server, the default sandbox is the
10
+#' 'default_sandbox' created automatically under the under the filetransfer directory in the
11
+#' CytoscapeConfiguration directory. Naming a sandbox with this function creates a new
12
+#' sub-directory as a sibling to 'default_sandbox' and uses it for subsequent file operations.
13
+#' Setting a None sandbox uses the default sandbox instead.
14
+#' Sandboxes are highly recommended as an aid to creating workflows that can be shared with
15
+#' others.
7 16
 #' @param sandboxName Name of new default sandbox. None means to use the original default sandbox 
8 17
 #' @param copySamples True to copy the Cytoscape sampleData into the sandbox
9 18
 #' @param reinitialize True to delete sandbox contents (if any) if sandbox already exists
... ...
@@ -26,7 +35,14 @@ sandboxSet <- function(sandboxName, copySamples=TRUE, reinitialize=TRUE, base.ur
26 35
 # ------------------------------------------------------------------------------
27 36
 #' @title sandboxRemove
28 37
 #'
29
-#' @description sandboxRemove
38
+#' @description Delete sandbox contents and remove its directory.
39
+#' If the current sandbox is the entire file system on a Cytoscape workstation, trying to delete it
40
+#' is an error. Otherwise, deleting the current sandbox results in the default sandbox becoming the
41
+#' new current sandbox. When running standalone on the same workstation as Cytoscape, the default
42
+#' sandbox is the entire file system on the Cytoscape workstation. When running in a Notebook or
43
+#' remote server, the default sandbox is the 'default_sandbox' created automatically under the
44
+#' under the filetransfer directory in the CytoscapeConfiguration directory. If that sandbox is
45
+#' deleted, it will be re-created so that subsequent file operations can complete successfully.
30 46
 #' @param sandboxName Name of sandbox to delete. None means to delete the current sandbox. If that sandbox is the default sandbox, it is automatically re-created.
31 47
 #' @param base.url Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://127.0.0.1:1234 and the latest version of the CyREST API supported by this version of RCy3.
32 48
 #' @return dict: {'sandboxPath': <directory on Cytoscape workstation>, 'existed': <True if sandbox existed>}
... ...
@@ -56,7 +72,15 @@ sandboxRemove <- function(sandboxName=NULL, base.url=.defaultBaseUrl){
56 72
 # ------------------------------------------------------------------------------
57 73
 #' @title sandboxGetFileInfo
58 74
 #'
59
-#' @description sandboxGetFileInfo
75
+#' @description Get metadata on file in sandbox (or entire sandbox).
76
+#' If the current sandbox is the entire file system on a Cytoscape workstation, trying to delete it
77
+#' is an error. Otherwise, deleting the current sandbox results in the default sandbox becoming the
78
+#' new current sandbox. When running standalone on the same workstation as Cytoscape, the default
79
+#' sandbox is the entire file system on the Cytoscape workstation. When running in a Notebook or
80
+#' remote server, the default sandbox is the 'default_sandbox' created automatically under the
81
+#' under the filetransfer directory in the CytoscapeConfiguration directory. If that sandbox is
82
+#' deleted, it will be re-created so that subsequent file operations can complete successfully.
83
+#' Note that this function can be used to query either a file or a directory.
60 84
 #' @param fileName Name of file whose metadata to return ... can be sandbox-relative path ... ``.`` returns metadata on sandbox itself
61 85
 #' @param sandboxName Name of sandbox containing file. None means "the current sandbox".
62 86
 #' @param base.url Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://127.0.0.1:1234 and the latest version of the CyREST API supported by this version of RCy3.
... ...
@@ -64,7 +88,7 @@ sandboxRemove <- function(sandboxName=NULL, base.url=.defaultBaseUrl){
64 88
 #' @examples \donttest{
65 89
 #' sandboxGetFileInfo()
66 90
 #' }
67
-#' @importFrom file_test utils
91
+#' @importFrom utils file_test
68 92
 #' @export
69 93
 sandboxGetFileInfo <- function(fileName, sandboxName=NULL, base.url=.defaultBaseUrl){
70 94
     tryCatch(
... ...
@@ -92,7 +116,14 @@ sandboxGetFileInfo <- function(fileName, sandboxName=NULL, base.url=.defaultBase
92 116
 # ------------------------------------------------------------------------------
93 117
 #' @title sandboxSendTo
94 118
 #'
95
-#' @description sandboxSendTo
119
+#' @description Transfer a file to a sandbox.
120
+#' The source file is transferred to the named (or current) sandbox, overwriting an existing file if one
121
+#' already exists. The destFile can be an absolute path if the sandbox is the entire file system (i.e., for
122
+#' standalone R execution) or a path relative to the sandbox (i.e., for Notebook or remote execution or if a
123
+#' sandbox was explicitly created).
124
+#' Note that there is no function that transfers an entire directory. Note, though, that when using sandboxSet()
125
+#' to make a sandbox current, it is possible to copy the Cytoscape sample data directories into to the sandbox at the
126
+#' same time.
96 127
 #' @param sourceFile Name of file to read (as absolute path or sandbox-relative path)
97 128
 #' @param destFile Name of file in the R workflow's file system ... if None, use file name in source_file
98 129
 #' @param overwrite Name of sandbox containing file. None means "the current sandbox".
... ...
@@ -138,7 +169,11 @@ sandboxSendTo <- function(sourceFile, destFile=NULL, overwrite=TRUE, sandboxName
138 169
 # ------------------------------------------------------------------------------
139 170
 #' @title sandboxUrlTo
140 171
 #'
141
-#' @description sandboxUrlTo
172
+#' @description Transfer a cloud-based file to a sandbox.
173
+#' The source URL identifies a file to be transferred to the named (or current) sandbox, overwriting an existing
174
+#' file if one already exists. The destFile can be an absolute path if the sandbox is the entire file
175
+#' system (i.e., for standalone R execution), or it can be a path relative to the sandbox (i.e., for Notebook or
176
+#' remote execution or if a sandbox was explicitly created).                                                                                     
142 177
 #' @param sourceURL URL addressing cloud file to download
143 178
 #' @param destFile Name of file in the R workflow's file system ... if None, use file name in source_file
144 179
 #' @param overwrite Name of sandbox containing file. None means "the current sandbox".
... ...
@@ -165,7 +200,11 @@ sandboxUrlTo <- function(sourceURL, destFile, overwrite=TRUE, sandboxName=NULL,
165 200
 # ------------------------------------------------------------------------------
166 201
 #' @title sandboxGetFrom
167 202
 #'
168
-#' @description sandboxGetFrom
203
+#' @description Transfer a file from a sandbox.
204
+#' The source file is transferred from the named (or current) sandbox to the R workflow's file system,
205
+#' overwriting an existing file if one already exists. The sourceFile can be an absolute path if the sandbox is
206
+#' the entire file system (i.e., for standalone R execution) or a path relative to the sandbox
207
+#' (i.e., for Notebook or remote execution or if a sandbox was explicitly created).
169 208
 #' @param sourceFile Name of file to read (as absolute path or sandbox-relative path)
170 209
 #' @param destFile Name of file in the R workflow's file system ... if None, use file name in source_file
171 210
 #' @param overwrite Name of sandbox containing file. None means "the current sandbox".
... ...
@@ -213,7 +252,11 @@ sandboxGetFrom <- function(sourceFile, destFile=NULL, overwrite=TRUE, sandboxNam
213 252
 # ------------------------------------------------------------------------------
214 253
 #' @title sandboxRemoveFile
215 254
 #'
216
-#' @description sandboxRemoveFile
255
+#' @description Remove a file from a sandbox.
256
+#' The named file is removed from the named sandbox. If the sandbox is the entire file system (i.e., for standalone
257
+#' R execution), the file name can be an absolute path. Otherwise, it is a path relative to the named sandbox.
258
+#' Note that there is no function that deletes a directory, except for sandboxRemove(), which deletes a sandbox
259
+#' and all of its contents.
217 260
 #' @param fileName Name of file to delete (as absolute path or sandbox-relative path)
218 261
 #' @param sandboxName Name of sandbox containing file. None means "the current sandbox".
219 262
 #' @param base.url Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://127.0.0.1:1234 and the latest version of the CyREST API supported by this version of RCy3.
... ...
@@ -229,7 +272,7 @@ sandboxRemoveFile <- function(fileName, sandboxName=NULL, base.url=.defaultBaseU
229 272
 # ------------------------------------------------------------------------------
230 273
 #' @title sandboxOp
231 274
 #'
232
-#' @description sandboxOp
275
+#' @description internal function for sandbox operation
233 276
 #' @param command command
234 277
 #' @param sandboxName Name of file to read (as absolute path or sandbox-relative path)
235 278
 #' @param fileName Name of file to read (as absolute path or sandbox-relative path)
... ...
@@ -13,7 +13,7 @@ getAbsSandboxPath(fileLocation)
13 13
 file location
14 14
 }
15 15
 \description{
16
-getAbsSandboxPath
16
+Get absolute sandbox path.
17 17
 }
18 18
 \examples{
19 19
 \donttest{
... ...
@@ -10,7 +10,7 @@ getCurrentSandbox()
10 10
 current sandbox
11 11
 }
12 12
 \description{
13
-getCurrentSandbox
13
+Return both the current sandbox name and path.
14 14
 }
15 15
 \examples{
16 16
 \donttest{
... ...
@@ -10,7 +10,7 @@ getCurrentSandboxName()
10 10
 current sandbox name
11 11
 }
12 12
 \description{
13
-getCurrentSandboxName
13
+Return the current sandbox name.
14 14
 }
15 15
 \examples{
16 16
 \donttest{
... ...
@@ -10,7 +10,7 @@ getCurrentSandboxPath()
10 10
 current sandbox path
11 11
 }
12 12
 \description{
13
-getCurrentSandboxPath
13
+Return the current sandbox path.
14 14
 }
15 15
 \examples{
16 16
 \donttest{
... ...
@@ -10,7 +10,7 @@ getDefaultSandbox()
10 10
 default sandbox
11 11
 }
12 12
 \description{
13
-getDefaultSandbox
13
+Return whatever is the current default sandbox properties.
14 14
 }
15 15
 \examples{
16 16
 \donttest{
... ...
@@ -10,7 +10,7 @@ getDefaultSandboxPath()
10 10
 default sandbox path
11 11
 }
12 12
 \description{
13
-getDefaultSandboxPath
13
+Return the default path, which isn't one of the properties tracked in the default_sandbox.
14 14
 }
15 15
 \examples{
16 16
 \donttest{
... ...
@@ -10,7 +10,7 @@ getSandboxReinitialize()
10 10
 sandbox reinitialize
11 11
 }
12 12
 \description{
13
-getSandboxReinitialize
13
+Return flag indicating that next command should reinitialize the sandbox according to the default_sandbox.
14 14
 }
15 15
 \examples{
16 16
 \donttest{
... ...
@@ -7,7 +7,7 @@
7 7
 resetDefaultSandbox()
8 8
 }
9 9
 \description{
10
-resetDefaultSandbox
10
+Reset the entire state of the sandbox system.
11 11
 }
12 12
 \examples{
13 13
 \donttest{
... ...
@@ -17,7 +17,15 @@ sandboxGetFileInfo(fileName, sandboxName = NULL, base.url = .defaultBaseUrl)
17 17
 dict: {'filePath': <full path on Cytoscape workstation>, 'modifiedTime': <last changed time, '' if file doesn't exist>, 'isFile': <True if file, False if directory>}
18 18
 }
19 19
 \description{
20
-sandboxGetFileInfo
20
+Get metadata on file in sandbox (or entire sandbox).
21
+If the current sandbox is the entire file system on a Cytoscape workstation, trying to delete it
22
+is an error. Otherwise, deleting the current sandbox results in the default sandbox becoming the
23
+new current sandbox. When running standalone on the same workstation as Cytoscape, the default
24
+sandbox is the entire file system on the Cytoscape workstation. When running in a Notebook or
25
+remote server, the default sandbox is the 'default_sandbox' created automatically under the
26
+under the filetransfer directory in the CytoscapeConfiguration directory. If that sandbox is
27
+deleted, it will be re-created so that subsequent file operations can complete successfully.
28
+Note that this function can be used to query either a file or a directory.
21 29
 }
22 30
 \examples{
23 31
 \donttest{
... ...
@@ -27,7 +27,11 @@ sandboxGetFrom(
27 27
 sandboxGetFrom
28 28
 }
29 29
 \description{
30
-sandboxGetFrom
30
+Transfer a file from a sandbox.
31
+The source file is transferred from the named (or current) sandbox to the R workflow's file system,
32
+overwriting an existing file if one already exists. The sourceFile can be an absolute path if the sandbox is
33
+the entire file system (i.e., for standalone R execution) or a path relative to the sandbox
34
+(i.e., for Notebook or remote execution or if a sandbox was explicitly created).
31 35
 }
32 36
 \examples{
33 37
 \donttest{
... ...
@@ -15,7 +15,7 @@ sandboxInitializer(newSandbox = NULL, ...)
15 15
 sandbox
16 16
 }
17 17
 \description{
18
-sandboxInitializer
18
+Start with a sandbox template and update properties using whatever is found in the new_sandbox.
19 19
 }
20 20
 \examples{
21 21
 \donttest{
... ...
@@ -19,7 +19,7 @@ sandboxOp(command, sandboxName, fileName = NULL, base.url = .defaultBaseUrl)
19 19
 sandbox result
20 20
 }
21 21
 \description{
22
-sandboxOp
22
+internal function for sandbox operation
23 23
 }
24 24
 \examples{
25 25
 \donttest{
... ...
@@ -15,7 +15,14 @@ sandboxRemove(sandboxName = NULL, base.url = .defaultBaseUrl)
15 15
 dict: {'sandboxPath': <directory on Cytoscape workstation>, 'existed': <True if sandbox existed>}
16 16
 }
17 17
 \description{
18
-sandboxRemove
18
+Delete sandbox contents and remove its directory.
19
+If the current sandbox is the entire file system on a Cytoscape workstation, trying to delete it
20
+is an error. Otherwise, deleting the current sandbox results in the default sandbox becoming the
21
+new current sandbox. When running standalone on the same workstation as Cytoscape, the default
22
+sandbox is the entire file system on the Cytoscape workstation. When running in a Notebook or
23
+remote server, the default sandbox is the 'default_sandbox' created automatically under the
24
+under the filetransfer directory in the CytoscapeConfiguration directory. If that sandbox is
25
+deleted, it will be re-created so that subsequent file operations can complete successfully.
19 26
 }
20 27
 \examples{
21 28
 \donttest{
... ...
@@ -17,7 +17,11 @@ sandboxRemoveFile(fileName, sandboxName = NULL, base.url = .defaultBaseUrl)
17 17
 dict: {'filePath': <file's absolute path in Cytoscape workstation>, 'existed': True if file existed before being deleted}
18 18
 }
19 19
 \description{
20
-sandboxRemoveFile
20
+Remove a file from a sandbox.
21
+The named file is removed from the named sandbox. If the sandbox is the entire file system (i.e., for standalone
22
+R execution), the file name can be an absolute path. Otherwise, it is a path relative to the named sandbox.
23
+Note that there is no function that deletes a directory, except for sandboxRemove(), which deletes a sandbox
24
+and all of its contents.
21 25
 }
22 26
 \examples{
23 27
 \donttest{
... ...
@@ -27,7 +27,14 @@ sandboxSendTo(
27 27
 sandboxSendTo
28 28
 }
29 29
 \description{
30
-sandboxSendTo
30
+Transfer a file to a sandbox.
31
+The source file is transferred to the named (or current) sandbox, overwriting an existing file if one
32
+already exists. The destFile can be an absolute path if the sandbox is the entire file system (i.e., for
33
+standalone R execution) or a path relative to the sandbox (i.e., for Notebook or remote execution or if a
34
+sandbox was explicitly created).
35
+Note that there is no function that transfers an entire directory. Note, though, that when using sandboxSet()
36
+to make a sandbox current, it is possible to copy the Cytoscape sample data directories into to the sandbox at the
37
+same time.
31 38
 }
32 39
 \examples{
33 40
 \donttest{
... ...
@@ -24,7 +24,16 @@ sandboxSet(
24 24
 sandbox path in Cytoscape workstation's file system
25 25
 }
26 26
 \description{
27
-sandboxSet
27
+Set a new default sandbox, creating it if necessary.
28
+A sandbox is the root for the file system used for all file operations. When running standalone
29
+on the same workstation as Cytoscape, the default sandbox is the directory that's current for
30
+the R kernel. When running in a Notebook or remote server, the default sandbox is the
31
+'default_sandbox' created automatically under the under the filetransfer directory in the
32
+CytoscapeConfiguration directory. Naming a sandbox with this function creates a new
33
+sub-directory as a sibling to 'default_sandbox' and uses it for subsequent file operations.
34
+Setting a None sandbox uses the default sandbox instead.
35
+Sandboxes are highly recommended as an aid to creating workflows that can be shared with
36
+others.
28 37
 }
29 38
 \examples{
30 39
 \donttest{
... ...
@@ -27,7 +27,11 @@ sandboxUrlTo(
27 27
 dict: {'filePath': <new file's absolute path in Cytoscape workstation>, 'fileByteCount': number of bytes read}
28 28
 }
29 29
 \description{
30
-sandboxUrlTo
30
+Transfer a cloud-based file to a sandbox.
31
+The source URL identifies a file to be transferred to the named (or current) sandbox, overwriting an existing
32
+file if one already exists. The destFile can be an absolute path if the sandbox is the entire file
33
+system (i.e., for standalone R execution), or it can be a path relative to the sandbox (i.e., for Notebook or
34
+remote execution or if a sandbox was explicitly created).
31 35
 }
32 36
 \examples{
33 37
 \donttest{
... ...
@@ -15,7 +15,7 @@ setCurrentSandbox(sandboxName, sandboxPath)
15 15
 current sandbox
16 16
 }
17 17
 \description{
18
-setCurrentSandbox
18
+Set and return the current sandbox name and path.
19 19
 }
20 20
 \examples{
21 21
 \donttest{
... ...
@@ -15,7 +15,7 @@ setDefaultSandbox(newSandbox = NULL, ...)
15 15
 default sandbox
16 16
 }
17 17
 \description{
18
-setDefaultSandbox
18
+Set and return the sandbox properties to be used as a default, probably based on whether a Notebook is running.
19 19
 }
20 20
 \examples{
21 21
 \donttest{
... ...
@@ -13,7 +13,7 @@ setDefaultSandboxPath(newPath)
13 13
 default sandbox path
14 14
 }
15 15
 \description{
16
-setDefaultSandboxPath
16
+Set and return the default path, which isn't one of the properties tracked in the default_sandbox.
17 17
 }
18 18
 \examples{
19 19
 \donttest{
... ...
@@ -13,7 +13,7 @@ setSandboxReinitialize(doReinitialize = TRUE)
13 13
 sandbox reinitialize
14 14
 }
15 15
 \description{
16
-setSandboxReinitialize
16
+Set and return flag indicating that next command should reinitialize the sandbox according to the default_sandbox.
17 17
 }
18 18
 \examples{
19 19
 \donttest{