sandboxRemove | R Documentation |
Delete sandbox contents and remove its directory. If the current sandbox is the entire file system on a Cytoscape workstation, trying to delete it is an error. Otherwise, deleting the current sandbox results in the default sandbox becoming the new current sandbox. When running standalone on the same workstation as Cytoscape, the default sandbox is the entire file system on the Cytoscape workstation. When running in a Notebook or remote server, the default sandbox is the 'default_sandbox' created automatically under the under the filetransfer directory in the CytoscapeConfiguration directory. If that sandbox is deleted, it will be re-created so that subsequent file operations can complete successfully.
sandboxRemove(sandboxName = NULL, base.url = .defaultBaseUrl)
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. |
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. |
dict: 'sandboxPath': <directory on Cytoscape workstation>, 'existed': <True if sandbox existed>
sandboxRemove()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.