I want to build a GUI where it is possible to click on a variable to take a look at at some data, and then decide via checkbox if you want to use it or not.
Using use.table = T i can make the different values of the checkboxgroup clickable/markable but i fail to receive the index/row/value of the row i clicked.
I've tried different handler, but i can only grab the values of the checkboxes, not the clicked row.
w <- gwindow("win", visible = T)
g <-
gcheckboxgroup(
c("val1", "val2", "val3", "val4"),
use.table = T,
container = w,
handler = function(h, ...)
print("checkbox changed")
)