package {rsyncrosim} | R Documentation |
Installed or available packages
Description
Retrieves the packages installed or available for this version of SyncroSim.
Usage
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)
Arguments
ssimObject |
|
installed |
logical or character. |
listTemplates |
character. Name of a SyncroSim package. If not |
Value
Returns a data.frame
of packages installed or templates available
for a specified package.
Examples
## Not run:
# 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")
## End(Not run)
[Package rsyncrosim version 1.5.0 Index]