package | R Documentation |
Retrieves the packages installed or available for this version of SyncroSim.
package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) ## S4 method for signature 'character' package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) ## S4 method for signature 'missingOrNULL' package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) ## S4 method for signature 'Session' package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) ## S4 method for signature 'SsimLibrary' package(ssimObject)
ssimObject |
|
installed |
logical or character. |
listTemplates |
character. Name of a SyncroSim package. If not |
Returns a data.frame
of packages installed or templates available
for a specified package.
# Set the file path and name of the new SsimLibrary myLibraryName <- file.path(tempdir(),"testlib") # Set the SyncroSim Session and SsimLibrary mySession <- session() myLibrary <- ssimLibrary(name = myLibraryName, session = mySession) # List all installed packages package(mySession) # List all the installed base packages package(installed = "BASE") # List all available packages on the server (including currently installed) package(installed = FALSE) # Check the package you're SsimLibrary is currently using package(myLibrary) # Check the templates available for an installed package addPackage("helloworldSpatial") package(listTemplates = "helloworldSpatial")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.