Skip to content

R in Leopard

6 messages · knussear, Jan de Leeuw, Ken Beath +3 more

#
Hi

I saw a couple of posts mentioning a solution for using R in Leopard.  
Seems like the command line R still works, but the GUI is down for the  
count. Is there an experimental package anywhere?

Thanks

Ken
#
The GUI works just fine for me. Actually the X11 part of R also
works from the GUI, although Leopard X11 is broken in places and
has a very different startup procedure. I also managed to (finally)
compile rgl by patching LDFLAGS. From the command line, there are
problems with starting X11.
On Oct 29, 2007, at 11:54 , Ken Nussear wrote:

            
#
Hi,

Runs perfectly for me, using the standard R download.

Ken
On 30/10/2007, at 5:54 AM, Ken Nussear wrote:

            
#
Let me download the R binary and see what happens for me.

Hmmm, the mpkg seems broken. I can't pick anything to install. The  
mpkg installer starts in "Custom Install" mode, and with all the  
packages greyed-out so they cannot be installed. Standard mode lists  
nothing to install.

I installed each pkg individually, and it works fine. Even tcltk is  
working well with the massively overhauled X11. I just installed Rcmdr  
and all its dependencies, and things worked fine.

Cheers,
John Tull
On Oct 29, 2007, at 6:20 PM, Ken Beath wrote:

            
#
Current status of R and Leopard:

I don't have the release version of Leopard yet (waiting for the  
DVD...), so the information below is based on tests using the latest  
seed and user responses (see the list) in the last few days.

* Building R
This was our priority and we have smoothed all the wrinkles as far as  
I can see. Building current R from sources on Leopard works just  
fine. You can build both R and the GUI in 32 and 64-bit, leveraging  
the new 64-bit Cocoa support. You can create a quad-arch framework  
including the GUI if you wish, such R runs on both PowerPC and Intel  
Macs in both 32-bit and 64-bit mode. The r_arch names must be i386,  
ppc, x86_64 and ppc64 for the framework to install correctly.

* Using CRAN Tiger R on Leopard
Apparently there is a problem with the installer. Although our  
installer requires my.target.systemVersion.ProductVersion >= '10.4'  
and as such should work with Leopard, the Apple installer apparently  
breaks this. This is under investigation. Current work-around is to  
install R parts separately from the "Packages" directory of the R image.

Building packages from *sources* reportedly breaks due to some issue  
with Xcode. I can't test this with the release, but a hotfix could be  
adding -mmacosx-version-min=10.4 to linker flags either to PKG_LIBS  
or /Library/Frameworks/R.framework/Resources/etc/i386/Makeconf.  
(untested)

Binary packages are fine, so if you can, use CRAN binaries instead.

I have a working nightly build of R on Leopard that supports both  
Tiger and Leopard, but since I'm using the pre-release I cannot make  
it public until I get the release license. Once I get it, the nightly  
builds should work smoothly on both Tiger and Leopard.

We have some Leopard-specific aces up our sleeves, there will be a  
completely new Leopard build of R with cool new features,  
graphics, ... stay tuned ...

Cheers,
Simon
On Oct 29, 2007, at 2:54 PM, Ken Nussear wrote:

            
Rod
#
On 10/30/07, Simon Urbanek <simon.urbanek at r-project.org> wrote:
Thanks Simon. Congratulations for all  the team members working in R-Mac.

Rod.