I encounter the following problem:
library(gWidgets)
options(guiToolkit = "RGtk2")
aa <- c(1,2,3)
bb <- c(4,5,6)
cc <- cbind(aa,bb)
cc <-as.data.frame(cc)
t1 <- gtable(cc, container=TRUE)
I want to refresh the content of t1 with:
dd <- c(7,8,9)
dd <- as.data.frame(dd)
But when I run
t1[] <- dd
I receive: Can't replace with fewer columns
Apostolos