[R] Rcmdr - doItAndPrint - summary method of S4-class object not in Rcmdr window but R Console

2004-11-22 Thread Pfaff, Bernhard
Dear list member, John 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

Re: [R] Rcmdr - doItAndPrint - summary method of S4-class object not in Rcmdr window but R Console

2004-11-22 Thread Prof Brian Ripley
The FAQ Q8.1 does recommend that summary() methods do not print themselves but returned a classed object to be printed. What doItAndPrint does is to capture the result of an explicit print, so it will only work for summary methods that follow that recommendation. I do think doItAndPrint should