[R] How to install rpy under mac os x?
mando
mandoluca at gmail.com
Wed Sep 10 20:55:20 CEST 2008
Hi to all,
there are some binary .dmg packages to install easly rpy under mac os x?
I'm tryin' to install Rpy under Mac Os X but I receive the following
message:
host46-209-dynamic:rpy usernone$ python setup.py install
running install
running build
running build_py
running build_ext
building 'rpy2.rinterface.rinterface' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -
fno-common -dynamic -DNDEBUG -g -O3 -DR_INTERFACE_PTRS=1 -
DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I/Library/Frameworks/R.framework/
Resources/include -Irpy/rinterface -I/Library/Frameworks/
Python.framework/Versions/2.5/include/python2.5 -c rpy/rinterface/
array.c -o build/temp.macosx-10.3-fat-2.5/rpy/rinterface/array.o
rpy/rinterface/array.c:103: error: syntax error before ‘*’ token
rpy/rinterface/array.c: In function ‘array_struct_get’:
rpy/rinterface/array.c:105: error: ‘self’ undeclared (first use in
this function)
rpy/rinterface/array.c:105: error: (Each undeclared identifier is
reported only once
rpy/rinterface/array.c:105: error: for each function it appears in.)
rpy/rinterface/array.c:105: warning: initialization makes pointer from
integer without a cast
rpy/rinterface/array.c:103: error: syntax error before ‘*’ token
rpy/rinterface/array.c: In function ‘array_struct_get’:
rpy/rinterface/array.c:105: error: ‘self’ undeclared (first use in
this function)
rpy/rinterface/array.c:105: error: (Each undeclared identifier is
reported only once
rpy/rinterface/array.c:105: error: for each function it appears in.)
rpy/rinterface/array.c:105: warning: initialization makes pointer from
integer without a cast
lipo: can't figure out the architecture type of: /var/folders/Gn/
GnW---9nFjaAsf9--XHVvU+++TI/-Tmp-//ccYnQar1.out
error: command 'gcc' failed with exit status 1
OS: Mac OS X 10.5
Python 2.5
R 2.7.2 GUI 1.25 (5217)
Thanks to alls!
--
View this message in context: http://www.nabble.com/How-to-install-rpy-under-mac-os-x--tp19418094p19418094.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list