Try gdfedit. It is a simple front end to dfedit on RGtk2Extras. Otherwise, there is a model in Rgtk2 that makes this easy enough. Here is a fairly minimal example:
df <- data.frame(x=rnorm(1e5), y = rnorm(1e5))
library(RGtk2)
model <- rGtkDataFrame(df)
view <- gtkTreeView(model)
mapply(view$insertColumnWithAttributes, -1, colnames(model),
list(gtkCellRendererText()),
text = seq_len(ncol(model)) - 1)
sw <- gtkScrolledWindow()
sw$add(view)
win <- gtkWindow(show=FALSE)
win$add(sw)
win$show()
This should display this size data set very quickly. I would guess 1e6 is no problem too. I'll let you try. This example comes from the ProgGUIinR package where the code from the book Programming GUIs in R is given. Not plugging the book, but giving you a place to look for some other things that can be done.
This does not synchronize the GUI to the data frame, though the model itself (model
) can be accessed through [<-
and those changes are reflected.