existsTemp {svMisc} | R Documentation |
Does a variable exist in the TempEnv environment?
existsTemp(x, mode = "any")
x |
The name of the variable (character 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
, changeTemp
,
getTemp
, rmTemp
, addTemp
assignTemp("test", 1:10) # Check if this variable exists existsTemp("test") # Remove it rmTemp("test") # Does it still exist? existsTemp("test")