I am a relatively new user to KNIME. I have been trying to install the 'gWidgetsRGtk2' package through the R snippet, but it keeps throwing me an error when i try to load it.
if(require("gWidgetsRGtk2")){
print("gWidgetsRGtk2 is loaded correctly")
}else{
print("Trying to install gWidgetsRGtk2")
install.packages("gWidgets",dependencies=TRUE)
options("guiToolkit"="RGtk2")
I have tried changing the R path in the global preferences, and also tried adding this package directly into the KNIME-R folder.
None of these methods seem to work. Can anyone suggest a way out?