Learn R Programming

rsyncrosim (version 2.0.1)

filepath: Retrieves the path to a SyncroSim object on disk

Description

Retrieves the path to a SyncroSim Session, SsimLibrary, Project, Scenario, of Folder on disk.

Usage

filepath(ssimObject)

# S4 method for character filepath(ssimObject)

# S4 method for Session filepath(ssimObject)

# S4 method for SsimObject filepath(ssimObject)

# S4 method for Folder filepath(ssimObject)

Value

A character string: the path to a SyncroSim object on disk.

Arguments

ssimObject

Session, Project, SsimLibrary, or Folder object

Examples

Run this code
if (FALSE) {
# Specify file path and name of new SsimLibrary
myLibraryName <- file.path(tempdir(), "testlib")

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

# Get the file path
myFilePath <- filepath(myLibrary)
}

Run the code above in your browser using DataLab