[Rd] Expected error with help.search in R 3.2.0
Berend Hasselman
bhh at xs4all.nl
Sun Jun 14 07:59:23 CEST 2015
> On 14-06-2015, at 06:47, David Winsemius <dwinsemius at comcast.net> wrote:
>
> Using the Mavericks/Yosemite version of R 3.2.0, I see this:
>
>> utils::help.search("linear models")
> Error in help(db[i, "topic"], package = db[i, "Package"], lib.loc = lib, :
> 'topic' should be a name, length-one character vector or reserved word
>
> Using R 3.1.2 on a SnowLeapard branch does not produce the same result. I do get the expected large number of hits where those words are in the help pages. It's an error message from the `help` function, so seems less likely to be restricted to Macs. I do see that the help() code near the stop() call is the same in both versions. I do not see where `help.search` calls `help`.
>
> Tracing help is unrevealing. The first call to `help` throws the error and the call looks exactly like the calls in R 3.1.2
>
See this thread on R-SIG-Mac
https://stat.ethz.ch/pipermail/r-sig-mac/2015-April/011420.html
This may help.
Get R 3.2.0-patched or even the release candidate for R 3.2.1
Berend
> --
> David Winsemius
> Alameda, CA, USA
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list