rmTemp {svMisc} | R Documentation |
The function removes one or more variable(s) from TempEnv.
rmTemp(x)
x |
The name of the variable (character string), or a vector of characters with the name of all variables to remove from TempEnv. |
Return TRUE
if variable existed and is deleted, and FALSE
otherwise.
For multiple variable, a vector of booleans is returned.
This command issues no error message if variable(s) do not exist in TempEnv!
Philippe Grosjean <phgrosjean@sciviews.org>
TempEnv
, assignTemp
, changeTemp
,
getTemp
, existsTemp
, addTemp
assignTemp("test", 1:10) # Retrieve this variable getTemp("test") # Remove it rmTemp("test") # Try to retrieve it again getTemp("test")