Learn R Programming

rsyncrosim (version 2.0.1)

description: Description of SsimLibrary, Project or Scenario

Description

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

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, Project, Scenario, or Folder 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