From Mark.Bravington at csiro.au  Mon Jan 28 22:01:16 2013
From: Mark.Bravington at csiro.au (Mark.Bravington at csiro.au)
Date: Tue, 29 Jan 2013 08:01:16 +1100
Subject: [Rd] bug in help: R-devel pre 3.0
In-Reply-To: <51057E05.3030907@fhcrc.org>
References: <51057E05.3030907@fhcrc.org>
Message-ID: <3D59DF35E7CF3E42BA70C23BD5CBE6A8BDFDACA002@exvic-mbx04.nexus.csiro.au>

G'day

There's a bug in R-devel help() when something is documented in multiple places. Eg

> library( gmp)
> ?apply

The browser window then contains:

Error in length(packages):"Help on topic '%s' was found in the following package:" : 
  NA/NaN argument

Also, the *next* time 'help' or '?' is called (even with eg '?glm'), the following warning message appears in the R console.

Warning message:
In ngettext(length(packages):"Help on topic '%s' was found in the following package:",  :
  NAs introduced by coercion

This is on build 61745, but has been around for a while. All good in R 2.15.2 (the browser says there's help in several places, and you get to pick). I'm using windows XP and Firefox as the browser, but the error message looks more general.

bye
Mark

Mark Bravington
CSIRO CMIS
Marine Lab
Hobart
Australia



[Rd] bug in help: R-devel pre 3.0
Mark.Bravington at csiro.au