Learn R Programming

rsyncrosim (version 2.1.9)

description: Description of SsimLibrary, Project or Scenario

Description

Get or set the description of a SsimLibrary-class, Project-class, or Scenario-class.

Usage

description(ssimObject)

description(ssimObject) <- value

# S4 method for character description(ssimObject)

# S4 method for SsimObject description(ssimObject)

# S4 method for character description(ssimObject) <- value

# S4 method for SsimObject description(ssimObject) <- value

Value

A character string: the description of the SsimObject

Arguments

ssimObject

SsimLibrary-class, Project-class, Scenario-class, or Folder-class object

value

character string specifying the new description

Examples

Run this code
if (FALSE) {
# 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)
myProject <- project(myLibrary, project = "Definitions")

# Retrieve the description of the SyncroSim Project
mydescription <- description(myProject)

# Set the description of the SyncroSim Project
description(myProject) <- "my description"
}

Run the code above in your browser using DataLab