Learn R Programming

svMisc (version 0.9-69)

rmTemp: Remove one or several temporary variable(s) from the SciViews:TempEnv environment

Description

The function removes one or more variable(s) from SciViews:TempEnv.

Usage

rmTemp(x)

Arguments

x
the name of the variable (character string), or a vector of characters with the name of all variables to remove from SciViews:TempEnv.

Value

  • Return TRUE if variable existed and is deleted, and FALSE otherwise. For multiple variable, a vector of booleans is returned.

Warning

This command issues no error message if variable(s) do not exist in SciViews:TempEnv!

concept

temporary variables

See Also

TempEnv, assignTemp, changeTemp, getTemp, existsTemp, addTemp

Examples

Run this code
assignTemp("test", 1:10)
## Retrieve this variable
getTemp("test")
## Remove it
rmTemp("test")
## Try to retrieve it again
getTemp("test")

Run the code above in your browser using DataLab