Returns value of a track variable.

gtrack.var.get(track = NULL, var = NULL)

Arguments

track

track name

var

track variable name

Value

Track variable value.

Details

This function returns the value of a track variable. If the variable does not exist an error is reported.

Examples


gdb.init_examples()
gtrack.var.set("sparse_track", "test_var", 1:10)
gtrack.var.get("sparse_track", "test_var")
#>  [1]  1  2  3  4  5  6  7  8  9 10
gtrack.var.rm("sparse_track", "test_var")