Hi,
I am writing a pretty huge application using RGtk2 and I want to prevent errormessages produced by RGtk2-functions from being printed to the R-console, without just redirecting the stderr putput. I already tried to solve it using handleError, but in my case this only changed the function output, but the error message was still printed.
Am I doing something wrong with this code? (New error handling is enabled) It is always printing the error and the only difference in using handleError is the additional NULL printed.
App <- gtkWindow(show = TRUE)
Box <- gtkEntry()
App$add(Box)
Set <- list()
Box$setText(Set$Entry)
handleError(Box$setText(Set$Entry), FALSE)
handleError(Box$setText(Set$Entry), TRUE)
Could I please get some help solving this problem?
Hi,
I am writing a pretty huge application using RGtk2 and I want to prevent errormessages produced by RGtk2-functions from being printed to the R-console, without just redirecting the stderr putput. I already tried to solve it using handleError, but in my case this only changed the function output, but the error message was still printed.
Am I doing something wrong with this code? (New error handling is enabled) It is always printing the error and the only difference in using handleError is the additional NULL printed.
Could I please get some help solving this problem?