[R-SIG-Mac] R 3.2.0 Mavericks/Yosemite: help.search showing error

David Winsemius dwinsemius at comcast.net
Sun Jun 14 19:43:49 CEST 2015


On Jun 14, 2015, at 9:33 AM, Berend Hasselman wrote:

> 
>> On 14-06-2015, at 17:55, David Winsemius <dwinsemius at comcast.net> wrote:
>> 
>>> 
>>> On Jun 14, 2015, at 8:18 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>>> 
>>> 
>>> On Jun 13, 2015, at 11:04 PM, Berend Hasselman wrote:
>>> 
>>>> 
>>>>> On 14-06-2015, at 06:25, Ramnik Bansal <ramnik.bansal at gmail.com> wrote:
>>>>> 
>>>>> Thanks. But it seems to be an R 3.2.0 specific problem.
>>>>> 
>>>> 
>>>> I replied with the following to a similar message on R-devel.
>>> 
>>> There was no error either with using help() or using the Mac GUI package manager. Those were the reported difficulties previously reported.
>>> 
>>>> 
>>>> ————————————————————————
>>>> 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
>>>> ————————————————————————
>>> 
>>> The error I am getting was from the most recent R 3.2.0 downloaded yesterday. There is no 3.2.0-Patched for Mavericks.  The release candidate, R 3.2.1 RC, is marked on the ATT Research webpage as failing Make and it indeed fails to launch. I would NOT recommend that anyone accept that advice. 
>>> 
>>> But maybe it is a Mac-specific problem. When I remove the crippled R 3.2.1 RC and reinstall the R 3.2.0 and run from a Terminal window I do not get the help.search() error. So copying to R SIG Mac, and will not copy R-help on any further efforts.
>> 
>> Posting the session Info when running in the GUI
>> 
>>> 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
>>> sessionInfo()
>> 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/
> 
> 
> Running R-3.2.1 RC on Yosemite 10.10.3 Mavericks version
> 
> Result of sessionInfo():
> 
> R version 3.2.1 RC (2015-06-10 r68503)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X 10.10.3 (Yosemite)
> 
> locale:
> [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     
> 
> loaded via a namespace (and not attached):
> [1] tools_3.2.1
> 
> and issuing the command
> 
> help.search(“linear models”) 
> 
> works perfectly ok.
> On the page http://r.research.att.com: for R-3.2-branch  the R 3.2.1 RC did not fail make.
> The development version of R failed.
> And my R 3.2.1 of a few days ago has no problem with the help.search() function.

We seem to be talking past each other. The failure I am seeing for 3.2.0 is in the R.app sessions. Not seeing error in a Terminal session.

This is what I see (today) at the att.research site:
============
R-devel
3.2.1 RC
(2015/06/10, r68509)	mavericks	Jun 14 00:39	x86_64: make FAILED  (log)
Package: OK

R-devel-mavericks-sa-x86_64.tar.gz (59Mb)

R-devel-mavericks-signed.pkg (69Mb, installer incl. GUI)
=============

The failure I described for version 3.2.1 RC  was the GUI that was failing to launch which I thought might be related to the att.research note "x86_64: make FAILED (log)", but this line from the log link following the notation FAILED:

http://r.research.att.com/log-R-devel.mavericks.x86_64.html

..... suggests an attempt to find resources for version 3.3.0:

clang -dynamiclib -Wl,-headerpad_max_install_names  -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -install_name libR.dylib -compatibility_version 3.3.0  -current_version 3.3.0  -headerpad_max_install_names -o libR.dylib CommandLineArgs.o Rdynload.o Renviron.o RNG.o agrep.o apply.o arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cum.o dcf.o datetime.o debug.o deparse.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o edit.o engine.o envir.o errors.o eval.o format.o gevents.o gram.o gram-ex.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o names.o objects.o options.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o random.o raw.o registration.o relop.o rlocale.o saveload.o scan.o seq.o serialize.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o times.o unique.o util.o version.o g_alab_her.o g_cntrlify.o g_fontdb.o g_her_glyph.o xxxpr.o   `ls ../unix/*.o ../appl/*.o ../nmath/*.o` ../extra/tre/libtre.a  ../extra/intl/libintl.a ../extra/tzone/libtz.a -L../../lib -lRblas -L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2 -lgfortran -lquadmath -lm    -Wl,-framework -Wl,CoreFoundation -lreadline  -lpcre -llzma -lbz2 -lz -licucore -lm -liconv  



> 
> Berend
> 
> 

David Winsemius
Alameda, CA, USA



More information about the R-SIG-Mac mailing list