filepath: Retrieves the path to a SyncroSim object on disk

filepathR Documentation

Retrieves the path to a SyncroSim object on disk

Description

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

Usage

filepath(ssimObject)

## S4 method for signature 'character'
filepath(ssimObject)

## S4 method for signature 'Session'
filepath(ssimObject)

## S4 method for signature 'SsimObject'
filepath(ssimObject)

Arguments

ssimObject

Session, Project, or SsimLibrary object

Value

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

Examples


# 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)



rsyncrosim documentation built on Oct. 8, 2022, 9:06 a.m.