问题
I'm trying to run the first two lines of the gWidgetsRGtk2 examples but I cannot find glade libraries in CRAN . So gladeXMLNew() function fails. Is there anybody who could help ?
## This requires glade libraries to be installed before compiling RGtk2
options("guiToolkit"="RGtk2")
library(RGtk2)
library(gWidgets)
library(gWidgetsRGtk2)
gladeFile <- system.file("examples/t.test.glade",package="gWidgetsRGtk2")
GUI <- gladeXMLNew("t.test.glade")
Thank you in advance
回答1:
"Glade is a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment"
so it is both too general and too specific for CRAN
来源:https://stackoverflow.com/questions/8855248/r-gwidgetsrgtk2-gladexmlnew-function-not-found