tempfilepath: Retrieves the temporary file path to a SyncroSim object on...

tempfilepathR Documentation

Retrieves the temporary file path to a SyncroSim object on disk

Description

Retrieves the temporary file path to a SyncroSim Session-class, SsimLibrary-class, Project-class or Scenario-class on disk.

Usage

tempfilepath(ssimObject)

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

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

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

Arguments

ssimObject

Session-class, Project-class, or SsimLibrary-class object

Value

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

Examples

## Not run: 
# 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 temporary file path
myFilePath <- tempfilepath(myLibrary)

## End(Not run)


rsyncrosim documentation built on Nov. 7, 2025, 5:14 p.m.