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

David Winsemius dwinsemius at comcast.net
Sun Jun 14 16:41:51 CEST 2015

On Jun 13, 2015, at 10:59 PM, Berend Hasselman wrote:

>> 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

Yes, I see that thread. It reports a problem with the MacGUI package manager. That was not the problem reported and in fact both help() and the package manager open correctly. The problem reported was with `help.search()`

> This may help.
> Get R 3.2.0-patched or even the release candidate for R 3.2.1

There is no R 3.2.0-patched for Mavericks/Yosemite machines. There was a "3.1.3 Patched" for the Snow Leopard platform. I had used the most recent version of R 3.2.0 from the ATT Research site. I  then updated to the release candidate as suggested and R GUI now fails to load with this crash report. Note the error in naming the location of the R target as to be found in 


I also see that there was a note: x86_64: make FAILED

Starting R from the a Terminal window succeeds and the error with help.search() does not occur. R 3.2.1 also loads with RStudio with an error reported on startup that I'm pretty sure has already been reported elsewhere.

==== Mac GUI launch failure report ============

Process:               R [2518]
Path:                  /Applications/R.app/Contents/MacOS/R
Identifier:            org.R-project.R
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           R [2518]
User ID:               502

Date/Time:             2015-06-14 07:18:29.359 -0700
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        6729BDD8-0426-3F7E-CCFF-434A7BC2CF3E

Sleep/Wake UUID:       E4F8B4E6-0F96-4939-A687-D912AD7B215E

Time Awake Since Boot: 14000 seconds
Time Since Wake:       660 seconds

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
 Library not loaded: /Library/Frameworks/R.framework/Versions/3.3/Resources/lib/libR.dylib
 Referenced from: /Applications/R.app/Contents/MacOS/R
 Reason: image not found

Binary Images:
   0x7fff66097000 -     0x7fff660cd837  dyld (353.2.1) <65DCCB06-339C-3E25-9702-600A28291D0E> /usr/lib/dyld

Model: MacBookPro5,3, BootROM MBP53.00AC.B03, 2 processors, Intel Core 2 Duo, 2.8 GHz, 8 GB, SMC 1.48f2
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80AD, 0x484D5434353153364D4D5238432D47372020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80AD, 0x484D5434353153364D4D5238432D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (
Bluetooth: Version 4.3.4f4 15601, 3 services, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545050B9SA02, 500.11 GB
Serial ATA Device: MATSHITADVD-R   UJ-868, 122.5 MB
USB Device: Internal Memory Card Reader
USB Device: Built-in iSight
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
Thunderbolt Bus: 

> Berend
>> -- 
>> David Winsemius
>> Alameda, CA, USA
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel

David Winsemius
Alameda, CA, USA

More information about the R-devel mailing list