Retrieving values from an rhandsontable object (R, R shiny)
问题 I use the (awesome) package rhandsontable that will later be included in an R shiny webpage. The user can click at some places, and I want to know how to retrieve the info on which rows was clicked. Here is an example, (to be copy&paste in an R terminal): library(rhandsontable) ## Create the dataset min = c(1,seq(2,34,by=2)) kmh = c(0,seq(7,23,by=1)) mph = round( kmh / 1.609344, digits=0 ) stop.speed = rep(FALSE, length(min)) DF = data.frame(min, kmh, mph, stop.speed, stringsAsFactors = FALSE