Hi Nir. Thanks a lot for the help. but I found 1 strange this. I am not able to change the name of Petal.Length if I add hot_col("Petal.Length", readOnly = FALSE, allowInvalid = TRUE). I get the error attempt to select less than one element in get1index
Below code for reference. Is there a way to rename Petal.Length also? Also may I know why I get this error?
output$table <- renderRHandsontable(rhandsontable(rename(iris,
"Category"=Species,
"New.petal.width"=Petal.Width, "New.petal.length"=Petal.Length)) %>% hot_col("Petal.Length", readOnly = FALSE, allowInvalid = TRUE))