RStudio UI to create a table

Did you see this discussion?

You could do

code_for_tab <- function(){
  DF = data.frame()
  fix(DF)
  dput(DF)
}

code_for_tab()

That will open a (base R) window to edit a table. When you close the window, code to make the table will be printed to the console. Not pretty code, admittedly. This SO Q&A might help with that, if desired.

3 Likes