From murdoch.duncan at gmail.com  Mon Jan 28 22:18:05 2013
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Mon, 28 Jan 2013 16:18:05 -0500
Subject: [Rd] bug in help: R-devel pre 3.0
In-Reply-To: <3D59DF35E7CF3E42BA70C23BD5CBE6A8BDFDACA002@exvic-mbx04.nexus.csiro.au>
References: <51057E05.3030907@fhcrc.org>
	<3D59DF35E7CF3E42BA70C23BD5CBE6A8BDFDACA002@exvic-mbx04.nexus.csiro.au>
Message-ID: <5106EB0D.9060909@gmail.com>

On 13-01-28 4:01 PM, Mark.Bravington at csiro.au wrote:
> 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.
>

It also requires options(help_type="html"); when I set that, I can 
reproduce.  I'll look into it.

Duncan Murdoch



[Rd] bug in help: R-devel pre 3.0
Duncan Murdoch