From bhh at xs4all.nl  Sun Jun 14 07:59:23 2015
From: bhh at xs4all.nl (Berend Hasselman)
Date: Sun, 14 Jun 2015 07:59:23 +0200
Subject: [Rd] Expected error with help.search in R 3.2.0
In-Reply-To: <A04D379E-DE68-47A6-A301-12D0F7526291@comcast.net>
References: <A04D379E-DE68-47A6-A301-12D0F7526291@comcast.net>
Message-ID: <81B48C11-A980-4D40-B839-B4C738B1F716@xs4all.nl>


> 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



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