Learn R Programming

tkRplotR (version 0.1.7)

setVariable: Set, Get, and Remove Variables

Description

Define, get, and remove variables

Usage

setVariable(name, value = NULL)
getVariable(name, value = NULL)
rmVariable(name)

Arguments

name

name of the variable

value

the value of the variable

Examples

Run this code
# NOT RUN {
setVariable("var1", 1)
exists("var1")
getVariable("var1")
rmVariable("var1")
getVariable("var1")
getVariable("tkRplotR_pngType")

# }

Run the code above in your browser using DataLab