Skip to content

function data.entry() doesn't work and generate error

7 messages · Davide Radice, Brian Ripley, Peter Dalgaard

#
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).

************
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
#
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/ .
On 14/10/2015 09:26, Davide Radice wrote:

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

            
...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 12:45, peter dalgaard wrote:
But not for a framework:

'Note: The standard locations for frameworks are the 
/System/Library/Frameworks directory and the /Library/Frameworks 
directory on the local system.'

[https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/IncludingFrameworks.html]

  
    
#
On 14 Oct 2015, at 13:54 , Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:

            
So there's a standard standard and a homebrew standard? ;-)

Now you have made me curious: What specifically does not make sense with R as a framework in a nonstandard location? (Looks like Python and Qt do likewise.)

-pd
#
On 14/10/2015 13:09, peter dalgaard wrote:
Time to read the manual (?C 3.6) ....  Building R as a framework is 
designed to be used with R.app (or conceivably another app front end), 
and such apps only look in Apple standard locations.  And there are 
definite drawbacks (see the manual).

The Qt frameworks I had installed were in a standard location 
(/Library/Frameworks).  And my Python framework is installed in 
/System/Library/Frameworks.
#
Brian,

Compiling with

brew install R --with-x11

it works.

Thank you for your reply.
--
Davide Radice
Blog: http://www.analisilaica.it
Facebook: http://www.facebook.com/davide.radice
Twitter: https://twitter.com/davideradice


2015-10-14 11:37 GMT+02:00 Prof Brian Ripley <ripley at stats.ox.ac.uk>: