SpaDES (version 1.1.4)

paths: Specify paths for modules, inputs, and outputs

Description

Accessor functions for the paths slot in a simList object.

Usage

paths(object)

## S3 method for class '.simList': paths(object)

paths(object) <- value

## S3 method for class '.simList': paths(object) <- value

cachePath(object)

## S3 method for class '.simList': cachePath(object)

cachePath(object) <- value

## S3 method for class '.simList': cachePath(object) <- value

inputPath(object)

## S3 method for class '.simList': inputPath(object)

inputPath(object) <- value

## S3 method for class '.simList': inputPath(object) <- value

outputPath(object)

## S3 method for class '.simList': outputPath(object)

outputPath(object) <- value

## S3 method for class '.simList': outputPath(object) <- value

modulePath(object)

## S3 method for class '.simList': modulePath(object)

modulePath(object) <- value

## S3 method for class '.simList': 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.

lll{ 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). }

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.