R: Remove one or several temporary variable(s) from the...

rmTemp {svMisc} | R Documentation

## 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!

### Author(s)

Philippe Grosjean <phgrosjean@sciviews.org>

### See Also

`TempEnv`, `assignTemp`, `changeTemp`, `getTemp`, `existsTemp`, `addTemp`

### Examples

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

[Package svMisc version 0.9-70 Index]