From dmurdoch at pair.com  Sun May 25 09:20:30 2003
From: dmurdoch at pair.com (Duncan Murdoch)
Date: Sun May 25 14:20:45 2003
Subject: [Rd] Re: [R] help output paged in separate window
In-Reply-To: <XFMail.030525104227.Ted.Harding@nessie.mcc.ac.uk>
References: <XFMail.030524203021.Ted.Harding@nessie.mcc.ac.uk>
	<XFMail.030525104227.Ted.Harding@nessie.mcc.ac.uk>
Message-ID: <ntc1dvkmh7a4sei8jhpdc37ptamh7fk8cr@4ax.com>

On Sun, 25 May 2003 10:42:27 +0100 (BST), Ted.Harding@nessie.mcc.ac.uk
wrote in r-help:

>Thanks to Jonathan Baron and Peter Dalgaard for private comments and help
>on this question. Peter in particular pointed out that
>  library(tcltk); options(pager=tkpager)

I notice a bug in the behaviour when used with help().  In Windows
(and elsewhere?) the pager gets called through file.show, with the
help topic given as the "header", rather than the "title".  According
to the docs, "title" is supposed to be an overall title common to all
displayed files, while "header" is file-specific.  In Windows, a
combination of both args is used as the window title.

However, tkpager only uses the "title" argument for the window title,
putting "header" into the text being displayed, with the result that
the windows end up with no title.

Is this an inconsistency in the usage for "header" between Windows and
other platforms, or a bug in tkpager?

Duncan Murdoch


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