From dwinsemius at comcast.net  Sun Jun 14 06:47:03 2015
From: dwinsemius at comcast.net (David Winsemius)
Date: Sat, 13 Jun 2015 21:47:03 -0700
Subject: [Rd] Expected error with help.search in R 3.2.0
Message-ID: <A04D379E-DE68-47A6-A301-12D0F7526291@comcast.net>

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



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