Learn R Programming

SciViews (version 0.8-8)

assignTemp: Assign a temporary variable in the TempEnv environment

Description

The function assigns a variable to TempEnv, an environment dedicated to temporary variables.

Usage

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?

See Also

TempEnv, getTemp, rmTemp, existsTemp

Examples

Run this code
assignTemp("test", TRUE)
	# Retrieve this variable
	getTemp("test")

Run the code above in your browser using DataLab