[Rd] Problem with Rcmdr Help menu under devel version of R 2.0.0
John Fox
jfox at mcmaster.ca
Sun Aug 29 16:28:16 CEST 2004
Dear Brian,
OK -- it's simple for me to replace all the calls to writeLines() in
print.help_files_with_topic() with calls to warning(), but since these are
warning messages, I don't see why the former is preferred to the latter
(though, of course, I may be missing something -- and, as you say, you
didn't write this code). Or is your point more general -- that I should have
a different generic print function? If so, how could I avoid writing new
print methods? (Again, perhaps there's a general solution here that I don't
see.)
Regards,
John
> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
> Sent: Sunday, August 29, 2004 8:46 AM
> To: John Fox
> Cc: r-devel at stat.math.ethz.ch
> Subject: RE: [Rd] Problem with Rcmdr Help menu under devel
> version of R 2.0.0
>
> John,
>
> It's not my code but I think the intention is that you should
> write your own print function for a GUI.
>
> Brian
>
> On Sun, 29 Aug 2004, John Fox wrote:
>
> > Dear Brian,
> >
> > Thank you very much for this -- I didn't grasp the
> implication of the
> > NEWS item.
> >
> > I still have a small residual problem with respect to
> notification of
> > multiple matches, etc.: My normal procedure is to redirect
> > informational messages from the console to tcltk message
> boxes, but I
> > can't figure out how to suppress console output of these
> messages. If
> > the messages were issued via warning() rather than writeLines() in
> > print.help_files_with_topic(), I'd intercept them. Is there
> a reason for bypassing warning()?
> >
> > Again, thanks.
> > John
> >
More information about the R-devel
mailing list