Assigns value to a track variable.
gtrack.var.set(track = NULL, var = NULL, value = NULL)
None.
This function creates a track variable and assigns 'value' to it. If the track variable already exists its value is overwritten.
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")