From dmurdoch at pair.com  Sun May 25 11:27:55 2003
From: dmurdoch at pair.com (Duncan Murdoch)
Date: Sun May 25 16:28:08 2003
Subject: [Rd] Re: [R] help output paged in separate window
In-Reply-To: <x2k7cf9mj0.fsf@biostat.ku.dk>
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>
Message-ID: <cni1dv401rs091o93bplh3h73eh6c0qe7h@4ax.com>

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.

>I don't read the docs as "overall title common to all displayed files"
>though, just as common to the set of files displayed by file.show. Or
>was that what you meant too?

Yes, common to all files displayed in that call.

Duncan


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