Assign a temporary variable in the SciViews:TempEnv environment

Description

The function assigns a variable to SciViews:TempEnv, an environment dedicated to temporary variables (especially useful for GUIs).

Usage

1
assignTemp(x, value, replace.existing = TRUE)

Arguments

x

the name of the variable.

value

the value of the variable.

replace.existing

do we replace an existing variable?

Author(s)

Philippe Grosjean <phgrosjean@sciviews.org>

See Also

TempEnv, changeTemp, getTemp, rmTemp, existsTemp, addTemp, tempvar

Examples

1
2
3
assignTemp("test", 1:10)
## Retrieve this variable
getTemp("test")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.