Your message dated Sat, 14 Jan 2006 10:42:30 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Bug#348051: r-base: R --gui=Tk gives useless error inside
help.start()
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Jan 2006 12:54:53 +0000
>From [EMAIL PROTECTED] Sat Jan 14 04:54:53 2006
Return-path: <[EMAIL PROTECTED]>
Received: from ptb-relay01.plus.net ([212.159.14.212])
by spohr.debian.org with esmtp (Exim 4.50)
id 1Exkvk-0007mn-TN
for [EMAIL PROTECTED]; Sat, 14 Jan 2006 04:54:53 -0800
Received: from [212.159.16.190] (helo=localhost)
by ptb-relay01.plus.net with esmtp (Exim) id 1ExkvF-00015t-4i
for [EMAIL PROTECTED]; Sat, 14 Jan 2006 12:54:21 +0000
Received: from gpk by localhost with local (Exim 4.60)
(envelope-from <[EMAIL PROTECTED]>)
id 1ExkvD-0008Lq-Dj; Sat, 14 Jan 2006 12:54:19 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Greg Kochanski <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: r-base: R --gui=Tk gives useless error inside help.start()
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Sat, 14 Jan 2006 12:54:19 +0000
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: r-base
Severity: minor
When you run
R --gui=Tk
you get a browser window with links,
however all the links are dead
(e.g. file:///tmp/Rtmp4XUTZq/.R/doc/manual/R-intro.html )
does not point to anything.
These links are supplied by the Debian
r-doc-html package, but unless that package
is required, something should be done about
the missing help files.
The best solution might be to have
help.start() look for the documentation
and change the front page
(file:///tmp/Rtmp4XUTZq/.R/doc/html/index.html)
to tell the user that the documentation is
currently unavailable and where to get it
(i.e. install the r-doc-html package,
and/or an internet URL).
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
---------------------------------------
Received: (at 348051-done) by bugs.debian.org; 14 Jan 2006 16:43:07 +0000
>From [EMAIL PROTECTED] Sat Jan 14 08:43:07 2006
Return-path: <[EMAIL PROTECTED]>
Received: from rwcrmhc13.comcast.net ([204.127.198.39]
helo=rwcrmhc12.comcast.net)
by spohr.debian.org with esmtp (Exim 4.50)
id 1ExoUc-0006F3-Up
for [EMAIL PROTECTED]; Sat, 14 Jan 2006 08:43:06 -0800
Received: from basebud.nulle.part
(c-67-174-11-185.hsd1.il.comcast.net[67.174.11.185])
by comcast.net (rwcrmhc13) with ESMTP
id <2006011416423201500abjree>; Sat, 14 Jan 2006 16:42:36 +0000
Received: from edd by basebud.nulle.part with local (Exim 4.60)
(envelope-from <[EMAIL PROTECTED]>)
id 1ExoU3-0003ZK-E2; Sat, 14 Jan 2006 10:42:31 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 14 Jan 2006 10:42:30 -0600
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#348051: r-base: R --gui=Tk gives useless error inside
help.start()
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
X-Mailer: VM 7.19 under Emacs 21.4.1
From: Dirk Eddelbuettel <[EMAIL PROTECTED]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02
On 14 January 2006 at 15:34, Greg Kochanski wrote:
| Dirk Eddelbuettel wrote:
| > On 14 January 2006 at 12:54, Greg Kochanski wrote:
| > | Package: r-base
| > | Severity: minor
| > |
| > |
| > | When you run
| > | R --gui=Tk
| > |
| > | you get a browser window with links,
| >
| > I don't. I get a simple Tk-implemented clone of the Windows shell. An R
| > prompt in a terminal, with menus Files, Demos, Packages, Help.
|
|
| Sorry! You run
|
| R --gui=Tk
|
| then (as you guessed)
|
| help.start()
|
| *then* you get a browser window where all the links are dead,
| assuming you haven't installed r-doc-html
Ok, that confirms that all you need to do is to install r-doc-html. No bug,
it is designed this way.
|
| > I don't understand how you got there.
| >
| > help.start() starts a webbrowser with links to help, and that would indeed
be
| > impacted by the lack of html docs.
|
| Yep.
|
| > | These links are supplied by the Debian
| > | r-doc-html package, but unless that package
| > | is required, something should be done about
| > | the missing help files.
| > |
| > | The best solution might be to have
| > | help.start() look for the documentation
| > | and change the front page
| > | (file:///tmp/Rtmp4XUTZq/.R/doc/html/index.html)
| > | to tell the user that the documentation is
| > | currently unavailable and where to get it
| > | (i.e. install the r-doc-html package,
| > | and/or an internet URL).
| >
| > That would deviate too much from upstream behaviour. The r-base-core package
| > clearly suggests to install documentation, among it the r-doc-html package,
| > so this has the common Debian behaviour.
|
| Well, the existing behaviour is really rough on someone learning the
| package. My initial reaction to this problem was
| to mutter "What a broken crock of ***!",
| and I'm afraid that a lot of users won't get beyond that point.
No so. If you install r-base, you get a recommendation to install
r-doc-html.
We need to balance between those (like you) who everything installed, and
those you want a more fine-grained approach.
| Apparently, R creates a per-instance temporary directory
| that contains symbolic links to the HTML documentation.
|
| If that is the case, the R should be checking that the targets
| of the links exist before creating them. Whether or not
| you want to do a Debian-specific fix, it is a bug
| that R does not check for a missing file before using it.
| Really, help.start() should at least check that
| .../doc/html/index.html exists, and should produce a good
| error message if it doesn't. If that were true, then
| you just have to remove .../doc/html/index.html from
| the r-base package, and all would work nicely.
|
| An alternative approach for handling this error is
| for r-base to supply one version of
| <whatever>/doc/html/index.html
| and for r-doc-html to supply a different version of that file.
| Is there a good way to do that within Debian's package
| system?
Just install r-doc-html.
I am closing this report.
Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]