[Rd] Re: [R] help output paged in separate window

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun May 25 15:52:31 MEST 2003


Duncan Murdoch <dmurdoch at pair.com> writes:

> On 25 May 2003 15:35:47 +0200, you wrote:
> >
> >A bit of both, I think. The Unix version of help() has
> >
> >                  file.show(zfile, title = paste("R Help on `",
> >                    topic, "'", sep = ""), delete.file = (zfile !=
> >                    file), pager = pager)
> >so everything is in the title. We could still paste the title and the
> >header arguments rather than put the header in the displayed text, of
> >course. 
> 
> Windows has
> 
>  file.show(zfile, title = "", header = paste("`", topic, "' help", 
> 	sep=""), delete.file = (zfile!=file), pager = pager)
> 
> Probably I should change Windows to use title= instead of header=.
> It'll make no difference to the behaviour with the standard Windows
> pager, which combines the title and header.
> 
> I think tkpager should combine the title and header too, since it
> shows each file in a separate window, but the change above would be
> enough to solve the bug I reported.

Hmm... So would changing tkpager, and without having to change the
documented API. So that would probably be a more straightforward
solution. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list