[R-SIG-Mac] function data.entry() doesn't work and generate error

peter dalgaard pdalgd at gmail.com
Wed Oct 14 13:45:23 CEST 2015


On 14 Oct 2015, at 11:37 , Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:

> Well, it appears that your build (which is not one of those supported here) did not include X11, and that must have been purposely excluded.
> 
> So the error is correct and the warning adds information ....  To use data.entry() you need to be using R.app, Windows or have R compiled to use X11 and and X server available.
> 
> Note that building R as a framework only makes sense if you install the framework in a standard location, not /usr/local/Cellar/r/3.2.2_1/ .

...but isn't the Cellar a standard location for keeping homebrewed beverages? 

At any rate, this needs to be taken up with homebrew experts. There may well be a switch to turn on X11 support, but I suspect not many on this list has the know-how.

-pd 


> 
> On 14/10/2015 09:26, Davide Radice wrote:
>> Hi to all.
>> 
>> Function data.entry() doesn't work and generate error on Mac OS X
>> 10.11 with R version 3.2.2 (installed via Homebrew).
>> 
>> ************
>>> cheese = c(1,2,3)
>>> data.entry(cheese)
>> error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:
>> can't open file:
>> /usr/local/Cellar/r/3.2.2_1/R.framework/Resources/modules/R_de.so (No
>> such file or directory)
>> Error in dataentry(odata, as.list(Modes)) : X11 is not available
>> Inoltre: Warning message:
>> running command ''/usr/bin/otool' -L
>> '/usr/local/Cellar/r/3.2.2_1/R.framework/Resources/modules/R_de.so''
>> had status 1
>> ************
>> 
>> It seems that is due to the lack of a file in modules folder. In
>> folder /usr/local/Cellar/r/3.2.2_1/R.framework/Resources/modules/ I
>> can find only these two files:
>> internet.so
>> lapack.so
>> 
>> My configuration:
>> 
>> R:
>> R version 3.2.2 (2015-08-14) -- "Fire Safety"
>> Copyright (C) 2015 The R Foundation for Statistical Computing
>> Platform: x86_64-apple-darwin15.0.0 (64-bit)
>> 
>> Operative system:
>> System Version: OS X 10.11 (15A284)
>> Kernel Version: Darwin 15.0.0
>> 
>> brew:
>> 0.9.5 (git revision bfbc3f; last commit 2015-10-13)
>> 
>> Hardware:
>> Model Name: iMac
>> Model Identifier: iMac14,2
>> Processor Name: Intel Core i5
>> Processor Speed: 3,2 GHz
>> 
>> Thank you
>> 
>> 
>> --
>> Davide Radice
>> Blog: http://www.analisilaica.it
>> Facebook: http://www.facebook.com/davide.radice
>> Twitter: https://twitter.com/davideradice
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
> 1 South Parks Road, Oxford OX1 3TG, UK
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-SIG-Mac mailing list