[Rd] Expected error with help.search in R 3.2.0

David Winsemius dwinsemius at comcast.net
Sun Jun 14 06:47:03 CEST 2015


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

-- 
David Winsemius
Alameda, CA, USA



More information about the R-devel mailing list