SpaDES (version 1.1.4)

.assignSpaDES: Assign to the internal SpaDES environment.

Description

Internal function. Simple wrapper for assign.

Usage

.assignSpaDES(x, value, ...)

## S3 method for class 'character,ANY': .assignSpaDES(x, value, ...)

## S3 method for class 'character,missing': .assignSpaDES(x, value, ...)

Arguments

x
a variable name, given as a character string. No coercion is done, and the first element of a character vector of length greater than one will be used, with a warning.
value
The object to assign. If this is missing, values will be found with get(x) in the same environment as the calling environment.
...
Additional arguments to pass to assign.