| restore | R Documentation |
Restores a SyncroSim library from a backup file.
restore(ssimLibraryBackup, folder = NULL, session = NULL)
## S4 method for signature 'character'
restore(ssimLibraryBackup, folder = NULL, session = NULL)
ssimLibraryBackup |
character string. Path to a library backup file |
folder |
character string. Optional path to a folder to restore the library into. If NULL, restores to default location. If the folder specified does not exist, it will be created. |
session |
SyncroSim session. |
Invisibly returns TRUE upon success (i.e. successful restore)
and FALSE upon failure.
## Not run:
# Specify file path and name of SsimLibrary backup file
myLibraryBackupName <- file.path(tempdir(), "testlib.ssimbak")
# Set up a SyncroSim Session and restore SsimLibrary from backup file
mySession <- session()
restore(ssimLibraryBackup = myLibraryBackupName,
session = mySession)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.