track (version 1.1.9)

track.auto: Query or set the status of automated tracking

Description

Query or set the status of automated tracking

Usage

track.auto(auto = NULL, pos = 1, envir = as.environment(pos))

Arguments

auto
NULL the default (to query the status of automatic tracking), or logical (TRUE or FALSE) to set it.
pos
The search path position of the environment being tracked (default is 1 for the global environment)
envir
The environment being tracked. This is an alternate way (to the use of pos=) of specifying the environment being tracked, but should be rarely needed.

Value

A logical value, indicating whether automatic tracking is on or off.

See Also

track.start

Examples

Run this code
## Not run: 
# track.auto() # query the status of auto-tracking
# track.auto(FALSE) # turn auto-tracking off
# track.auto(TRUE) # turn auto-tracking on
# ## End(Not run)

Run the code above in your browser using DataLab