Displaying 3 results from an estimated 3 matches for "doitandprint".
2004 Nov 22
1
Rcmdr -> doItAndPrint -> summary method of S4-class object not in Rcmdr window but R Console
...Fox proposed to me posting this problem to R-Help:
I have written a function suited for Rcmdr and included this in a R-file
located in Rcmdr/etc as well as an augmented `Rcmdr-menus.txt'.
Now, I am faced with the following problem:
method show() of a S4-class object works flawlessly, that is `doItAndPrint'
works flawlessly and its output is returned correctly into the Rcmdr-Window.
However, by using method summary() for the same S4-class object fails, in
the sense that the output is *not* printed in the Rcmdr window, but into the
R Console. The summary()-method contains cat() and slots of the S4...
2009 Dec 13
1
debug an error that incapacitates R?
...nnection
Debugging it seems impossible.
> options(error=recover)
> sosInit()
Error: invalid connection
Error during wrapup: invalid connection
The error also "crashes" browser().
Browse[1]> n
debug at /home/liviu/Devel/Rcmdr-dev/Rcmdr.sos/RcmdrPlugin.sos-0.1-0/R/sosInit.R#51:
doItAndPrint(paste("## Launching RSiteSearch, please be patient.."))
Browse[2]>
Error in function () : invalid connection
Error: invalid connection
>
To reproduce the example, you would need to source the following file [1]. Then
require(Rcmdr)
require(sos)
sosInit()
and in the box enter a st...
2005 Aug 29
1
Rcmdr extensions
Dear List,
I am trying to extend Rcmdr with some functions usefult to my
study... I have addedd succesfully a menu and some submenu to the
GUI, and I have placed a file .R in the /etc folder... I am able to
call functions on that file, but I cannot see the results: how can I
tell Rcmdr to write the output in the output box?
Second question: how can I refer to the actually selected