Global Static Variable
sVariable
defines a function that acts as a global
static variable.
sVariable(default = NULL)
default |
default value for the static variable. |
# define variable x <- sVariable(1) # get value (default) x() # set new value: return old value old <- x(3) old # get new value x()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.