Learn R Programming

rsyncrosim (version 1.5.0)

runLog: Retrieves run log of result Scenario

Description

Retrieves the run log of a result Scenario.

Usage

runLog(scenario)

# S4 method for character runLog(scenario)

# S4 method for Scenario runLog(scenario)

Value

A character string: the run log for a result scenario.

Arguments

scenario

Scenario object.

Examples

Run this code
if (FALSE) {
# Install helloworldSpatial package
addPackage("helloworldSpatial")

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

# Set the SyncroSim Session, SsimLibrary, Project, and Scenario
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName,
                         session = mySession, 
                         package = "helloworldSpatial",
                         template = "example-library",
                         forceUpdate = TRUE)
myProject <- project(myLibrary, project = "Definitions")
myScenario <- scenario(myProject, scenario = "My Scenario")

# Run Scenario
resultScenario <- run(myScenario)

# Retrieve the run log of the result Scenario
runLog(resultScenario)
}

Run the code above in your browser using DataLab