
Last chance! 50% off unlimited learning
Sale ends in
Deletes a SyncroSim library. Note this is irreversable.
deleteLibrary(
ssimLibrary,
force = FALSE,
removeBackup = FALSE,
removePublish = FALSE,
removeCustom = FALSE,
session = NULL
)# S4 method for SsimLibrary
deleteLibrary(ssimLibrary, force, removeBackup, removePublish, removeCustom)
# S4 method for character
deleteLibrary(
ssimLibrary,
force = FALSE,
removeBackup = FALSE,
removePublish = FALSE,
removeCustom = FALSE,
session = NULL
)
"saved" or failure message.
SsimLibrary or path to a library
Logical. If FALSE (default) prompt to confirm that the library should be deleted. This is irreversable.
logical. If TRUE
, will remove the backup folder when
deleting a library. Default is FALSE.
logical. If TRUE, will remove the publish folder when deleting a library. Default is FALSE.
logical. If TRUE and custom folders have been configured
for a library, then will remove the custom publish and/or backup folders when
deleting a library. Note that the removePublish
and removeBackup
arguments
must also be set to TRUE to remove the respective custom folders. Default
is FALSE.
Session
if (FALSE) {
# Specify file path and name of new SsimLibrary
myLibraryName <- file.path(tempdir(), "testlib")
# Set up a SyncroSim Session and create SsimLibrary
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession)
# Delete library from SsimObject
deleteLibrary(myLibrary, force = TRUE, removeBackup = TRUE)
# Create another library
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession)
# Delete library from path
deleteLibrary(myLibraryName)
}
Run the code above in your browser using DataLab