enableAddon {rsyncrosim}R Documentation

Enable addon package(s)

Description

Enable addon package(s) of a SsimLibrary.

Usage

enableAddon(ssimLibrary, name)

## S4 method for signature 'character'
enableAddon(ssimLibrary, name)

## S4 method for signature 'SsimLibrary'
enableAddon(ssimLibrary, name)

Arguments

ssimLibrary

SsimLibrary object

name

character string or vector of addon name(s)

Value

Invisibly returns TRUE upon success (i.e.successful activation of the addon) or FALSE upon failure.

See Also

addon

Examples

## Not run: 
# Install "stsim" SyncroSim package
addPackage("stsim")

# Specify file path and name of new SsimLibrary
myLibraryName <- file.path(tempdir(), "testlib")

# Set up a SyncroSim Session, SsimLibrary, and Project
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession, 
                         package = "stsim")

# Enable add on package
enableAddon(myLibrary, c("stsimsf"))
addon(myLibrary)

# Disable add on package
disableAddon(myLibrary, c("stsimsf"))
addon(myLibrary)

## End(Not run)


[Package rsyncrosim version 1.5.0 Index]