Learn R Programming

SpaDES (version 1.3.1)

.assignSpaDES: Assign to the internal SpaDES environment.

Description

Internal function. Simple wrapper for assign.

Usage

.assignSpaDES(x, value, ...)

# S4 method for character,ANY .assignSpaDES(x, value, ...)

# S4 method for 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.