From p.dalgaard at biostat.ku.dk  Sun May 25 15:52:31 2003
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard BSA)
Date: Sun May 25 16:52:33 2003
Subject: [Rd] Re: [R] help output paged in separate window
In-Reply-To: <cni1dv401rs091o93bplh3h73eh6c0qe7h@4ax.com>
References: <XFMail.030524203021.Ted.Harding@nessie.mcc.ac.uk>
	<XFMail.030525104227.Ted.Harding@nessie.mcc.ac.uk>
	<ntc1dvkmh7a4sei8jhpdc37ptamh7fk8cr@4ax.com>
	<x2k7cf9mj0.fsf@biostat.ku.dk>
	<cni1dv401rs091o93bplh3h73eh6c0qe7h@4ax.com>
Message-ID: <x2fzn39ior.fsf@biostat.ku.dk>

Duncan Murdoch <dmurdoch@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@biostat.ku.dk)             FAX: (+45) 35327907


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