existsTemp {svMisc}R Documentation

Determine if a variable exists in SciViews:TempEnv

Description

Does a variable exist in the SciViews:TempEnv environment?

Usage

existsTemp(x, mode = "any")

Arguments

x

the name of the variable (character string).

mode

the mode of the seeked variable.

Value

TRUE if the variable exists in SciViews:TempEnv (and is of the correct mode), FALSE otherwise.

Author(s)

Philippe Grosjean <phgrosjean@sciviews.org>

See Also

TempEnv, assignTemp, changeTemp, getTemp, rmTemp, addTemp

Examples

assignTemp("test", 1:10)
## Check if this variable exists
existsTemp("test")
## Remove it
rmTemp("test")
## Does it still exist?
existsTemp("test")

[Package svMisc version 0.9-70 Index]