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

Duncan Murdoch murdoch.duncan at gmail.com
Mon Jan 28 22:18:05 CET 2013


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



More information about the R-devel mailing list