| existsTemp {svMisc} | R Documentation |
Does a variable exists in the temporary environment, TempEnv?
existsTemp(x, mode = "any")
x |
The name of the variable (string) |
mode |
The mode of the seeked variable |
TRUE if the variable exists in TempEnv (and is of the correct mode), FALSE otherwise.
Philippe Grosjean <phgrosjean@sciviews.org>
TempEnv, assignTemp, getTemp, rmTemp
assignTemp("test", TRUE)
# Retrieve this variable
existsTemp("test")
# Remove it
rmTemp("test")
# Does it exists?
existsTemp("test")