[R-SIG-Mac] ?? Build/install x86_64 R under user home dir (non-root) on Mac OS X

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Feb 28 07:48:22 CET 2009


You still sent HTML mail, and we got a nigh-unreadable version with 
lots of blank lines.

Your OS *is* for i386: a properly functioning 64-bit buils on MacIntel 
reports

> sessionInfo()
R version 2.9.0 Under development (unstable) (2009-02-27 r48020)
i386-apple-darwin9.6.0

locale:
C/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8

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

(I have LC_COLLATE set to C).  That it is 64-bit is seen from

> .Machine$sizeof.pointer
[1] 8

Like Solaris and some other OSes, Darwin can run 32- and 64-bit code 
on the same basically 32-bit OS.  Some OSes do it the other way 
around, so e.g. Windows and Linux run a 32-bit subsystem with a 64-bit 
kernel.

I suspect you do have s 64-bit build of R running on your 32-bit OS.


On Fri, 27 Feb 2009, Ping-Hsun Hsieh wrote:

> Dear all,
>
> I am sending the same email again.
>
> It seems that the text coding of my earlier email has something wrong.
>
>
>
> Please discard the earlier one.
>
> I am sorry for any inconvenience this might cause you.
>
>
>
> Thanks,
>
> Ping-Hsun(Mike)
>
>
>
>
>
> ======================
>
> Dear all,
>
>
>
> I have been looking for solutions for my problem on installing x86_64 R under my home directory
>
> on Mac OS X for a couple days.
>
>
>
> It seems to me that the best described answer is on http://r.research.att.com/building.html
>
> I followed pretty much every step on the page, and I do get R installed in my home directory, but it is a i386 version, not a x86_64.
>
>
>
>
>
> Here are what I have for installation.
>
> ## User privilege:
>
> Normal user with root privilege…
>
>
>
> ## System:
>
> Mac OS X/Leopard 10.5.6/Intel Xeon/ X code (latest ver.) installed
>
>
>
> ## Source codes:
>
> “R-2.8.1.tar.gz”, downloaded from http://cran.fhcrc.org/src/base/R-2/R-2.8.1.tar.gz
>
>
>
> ## my configure:
>
> $./configure –prefix=$HOME r_arch=x86_64 \
>
> CC="gcc -arch x86_64 -std=gnu99" \
>
> CXX="g++ -arch x86_64" \
>
> OBJC="gcc -arch x86_64" \
>
> F77="gfortran -arch x86_64" \
>
> FC="gfortran -arch x86_64" \
>
> --with-system-zlib \
>
> --with-blas='-framework vecLib' --with-lapack
>
>
>
> ## make and install
>
> $make
>
> $make install
>
>
>
> One clue might be helpful is that after running the configure, there is a sentence said
>
> “R is now configured for i386-apple-darwin9.6.0”
>
> Not sure why it is configured for i386 though.
>
>
>
> Besides, I also tried and ran the entire codes under copy/paste guide on the same page http://r.research.att.com/building.html, but still got the same result.
>
>
>
>
>
> ## The following is the sessionInfo() of R
>
>> sessionInfo()
>
> R version 2.8.1 (2008-12-22)
>
> i386-apple-darwin9.6.0
>
>
>
> locale:
>
> C
>
>
>
> attached base packages:
>
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
>
>
> ## end of sessionInfo()
>
>
>
>
>
> Any suggestion or comments?
>
>
>
> Thanks in advance!
>
>
>
> Ping-Hsun(Mike)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 	[[alternative HTML version deleted]]

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-SIG-Mac mailing list