Learn R Programming

SpaDES (version 1.2.0)

paths: Specify paths for modules, inputs, and outputs

Description

Accessor functions for the paths slot in a simList object.

Usage

paths(object)
"paths"(object)
paths(object) <- value
"paths"(object) <- value
cachePath(object)
"cachePath"(object)
cachePath(object) <- value
"cachePath"(object) <- value
inputPath(object)
"inputPath"(object)
inputPath(object) <- value
"inputPath"(object) <- value
outputPath(object)
"outputPath"(object)
outputPath(object) <- value
"outputPath"(object) <- value
modulePath(object)
"modulePath"(object)
modulePath(object) <- value
"modulePath"(object) <- value

Arguments

object
A simList simulation object.
value
The object to be stored at the slot.

Value

Returns or sets the value of the slot from the simList object.

Details

These are ways to add or access the file paths used by spades. There are four file paths: cachePath, modulePath, inputPath, and outputPath. Each has a function to get or set the value in a simList object. When not otherwise specified, the default is to set the path values to the current working directory.

cachePath NA
Global simulation cache path. modulePath
NA Global simulation module path.
inputPath NA
Global simulation input path. outputPath
NA Global simulation output path.
paths NA
Global simulation paths (cache, modules, inputs, outputs). cachePath

See Also

simList-class, simList-accessors-envir, simList-accessors-events, simList-accessors-inout, simList-accessors-modules, simList-accessors-objects, simList-accessors-params, simList-accessors-times.