Skip to content
Prev 11236 / 15075 Next

R 3.2.0 Mavericks/Yosemite: help.search showing error

Posting the session Info when running in the GUI
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
R version 3.2.0 (2015-04-16)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.3 (Yosemite)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_3.2.0

I had earlier tried following the code of help.search and its call to help by reading the code and running trace but was not able to find where the arguments of help.search had been renamed as ?topic?.

Then running in the Terminal window does not provoke the error.

I had earlier noted that the crash report for the launch of R 3.2.1 from the R.app (GUI) indicated that the directory that the GUI was attempting to load R from was incorrectly specified as: /Library/Frameworks/R.framework/Versions/3.3/Resources/

? 
David.
David Winsemius, MD
Alameda, CA, USA