hi to everybody :-) I'm trying to install R on my PowerMac G5 (MacOS 10.5.8) but so far no success :-( From the CRAN I've downloaded version 2.15.0 (what looks me the last Universal version ready to install). Opened and installed (and deleted the 64 bit Intel only version) but R crashes as soon as it opens, with this error message: Dyld Error Message: Library not loaded: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib Referenced from: /Applications/R.app/Contents/MacOS/R Reason: no suitable image found. Did find: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: no matching architecture in universal wrapper I did install also gfortran-4.2.3 and tcltk-8.5.5-x11 but it didn't change anything. I tried to install also gfortran-42-5577 but the installer stopped with this error message (partially translated by me from Italian, as only the 2nd half of the message was in English...): "you can't install GNU Fortran 4.2.4 for XCode 3.1.4 (build 5577) on this volume. This package requires XCode 3.1.4 with gcc-4.2 (build 5577)" I checked and there's a folder in the Applications with this XCode 3.1.4 but again this application too crashes if I try running it... maybe there's something missing? I've got this G5 2nd hand back in 2011, and unfortunately the Leopard dvd I've got can only install a previous (3.1.0 ... I guess, but I should check) version, and from the Apple website linked at r-project.org there's apparently no way to download older versions of XCode... Any idea to get out? I must say I've also quite effortlessly installed R on my Linux netbook but I'd really like to have it on my PowerMac (and the bigger screen...). Sorry for the length of this mail :-) thanks best wishes Finrod
can't install R on a G5...
10 messages · Dan Tenenbaum, Stefano Doglio, Simon Urbanek
On Jan 23, 2013, at 4:13 PM, Stefano Doglio wrote:
hi to everybody :-) I'm trying to install R on my PowerMac G5 (MacOS 10.5.8) but so far no success :-( From the CRAN I've downloaded version 2.15.0 (what looks me the last Universal version ready to install). Opened and installed (and deleted the 64 bit Intel only version) but R crashes as soon as it opens, with this error message: Dyld Error Message: Library not loaded: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib Referenced from: /Applications/R.app/Contents/MacOS/R Reason: no suitable image found. Did find: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: no matching architecture in universal wrapper I did install also gfortran-4.2.3 and tcltk-8.5.5-x11 but it didn't change anything. I tried to install also gfortran-42-5577 but the installer stopped with this error message (partially translated by me from Italian, as only the 2nd half of the message was in English...): "you can't install GNU Fortran 4.2.4 for XCode 3.1.4 (build 5577) on this volume. This package requires XCode 3.1.4 with gcc-4.2 (build 5577)"
You don't need that at all - in fact you don't need any of the gfortran above to run R - it's only needed if you want to install packages from sources that contain Fortran code and then gfortran 4.2.3 is enough. If you just want to run R then the R*.pkg is all you need.
I checked and there's a folder in the Applications with this XCode 3.1.4 but again this application too crashes if I try running it... maybe there's something missing? I've got this G5 2nd hand back in 2011, and unfortunately the Leopard dvd I've got can only install a previous (3.1.0 ... I guess, but I should check) version, and from the Apple website linked at r-project.org there's apparently no way to download older versions of XCode... Any idea to get out?
Unfortunately we don't have working G5 box anymore (the last one died which we had to pul the plug), so I can't check. But it seems as if you may have more recent non-ppc version installed as well so it prevents the older ppc-verison to install. Please run file /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib You should see something like $ file /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 3 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386 If not, try rm -rf /Library/Frameworks/R.framework and re-installing R. If all fails, run something like curl http://r.research.att.com/R-2.15.0-leopard-universal.tar.gz | tar fvxz - -C / which will simply put the framework in place. Cheers, Simon
I must say I've also quite effortlessly installed R on my Linux netbook but I'd really like to have it on my PowerMac (and the bigger screen...). Sorry for the length of this mail :-)
thanks best wishes Finrod
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
On 24/01/13 02:26, Simon Urbanek wrote:
You should see something like $ file /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 3 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386
ok, what I see is this: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 2 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386 As you see there are "2 architectures" instead of 3, and the 2nd line is missing. What I should do next? Thanks! :-) Finrod (Stefano)
On Thu, Jan 24, 2013 at 12:30 AM, Stefano Doglio <finrod_s at libero.it> wrote:
On 24/01/13 02:26, Simon Urbanek wrote:
You should see something like $ file /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 3 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386
ok, what I see is this: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 2 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386 As you see there are "2 architectures" instead of 3, and the 2nd line is missing. What I should do next? Thanks! :-)
I thought ppc support was dropped altogether from R 2.15.0. Is that not correct? Dan
Finrod (Stefano)
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
On Jan 24, 2013, at 2:19 PM, Dan Tenenbaum wrote:
On Thu, Jan 24, 2013 at 12:30 AM, Stefano Doglio <finrod_s at libero.it> wrote:
On 24/01/13 02:26, Simon Urbanek wrote:
You should see something like $ file /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 3 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386
ok, what I see is this: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib: Mach-O universal binary with 2 architectures /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libR.dylib (for architecture i386): Mach-O dynamically linked shared library i386 As you see there are "2 architectures" instead of 3, and the 2nd line is missing. What I should do next? Thanks! :-)
I thought ppc support was dropped altogether from R 2.15.0. Is that not correct?
No, PPC support was dropped in R 2.15.1. Cheers, Simon
Finrod (Stefano)
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
success! :-)
On 24/01/13 02:26, Simon Urbanek wrote:
You don't need that at all - in fact you don't need any of the gfortran above to run R - it's only needed if you want to install packages from sources that contain Fortran code and then gfortran 4.2.3 is enough. If you just want to run R then the R*.pkg is all you need.
ok, there's a way to uninstall all this stuff? Or I just leave it and forget?
[cut] If not, try rm -rf /Library/Frameworks/R.framework and re-installing R.
ok, done it and now R opens regularly... I just have to start studying how it works now! ;-) Many thanks! best wishes Finrod
On Jan 24, 2013, at 2:51 PM, Stefano Doglio wrote:
success! :-) On 24/01/13 02:26, Simon Urbanek wrote:
You don't need that at all - in fact you don't need any of the gfortran above to run R - it's only needed if you want to install packages from sources that contain Fortran code and then gfortran 4.2.3 is enough. If you just want to run R then the R*.pkg is all you need.
ok, there's a way to uninstall all this stuff? Or I just leave it and forget?
Define "this stuff" ;). The GUI is simply the icon you see, so you "uninstall" it by moving it to Trash. This is true for almost all Mac apps. R itself is in the R.framework so you move the framework to trash to delete it or use the rm -rf command below. Cheers, Simon
[cut] If not, try rm -rf /Library/Frameworks/R.framework and re-installing R.
ok, done it and now R opens regularly... I just have to start studying how it works now! ;-) Many thanks! best wishes Finrod
On 25/01/13 02:01, Simon Urbanek wrote:
Define "this stuff" ;). The GUI is simply the icon you see, so you "uninstall" it by moving it to Trash. This is true for almost all Mac apps.
I was meaning the gfortran-4.2.3 and tcltk-8.5.5-x11 "stuff" you wrote it's useless unless I "want to install packages from sources that contain Fortran code", something I'm pretty sure I'll never do ;-) Back to my question: there's a way to delete "this stuff, without using AppDelete :-P or I just forget them and let them occupy a tiny bit of my hd? thanks have a nice day Finrod
On Jan 25, 2013, at 2:43 AM, Stefano Doglio wrote:
On 25/01/13 02:01, Simon Urbanek wrote:
Define "this stuff" ;). The GUI is simply the icon you see, so you "uninstall" it by moving it to Trash. This is true for almost all Mac apps.
I was meaning the gfortran-4.2.3 and tcltk-8.5.5-x11 "stuff" you wrote it's useless unless I "want to install packages from sources that contain Fortran code", something I'm pretty sure I'll never do ;-) Back to my question: there's a way to delete "this stuff, without using AppDelete :-P or I just forget them and let them occupy a tiny bit of my hd?
They are certainly tiny compared to today's disk sizes. If I recall correctly sudo gfortran-uninstall will remove the Fortran As for Tcl/Tk I don't think I added an uninstaller - it lives in /usr/local so if you don't use it, you can blow it away, otherwise you'd have to use pkgutil to get the content - probably not worth the hassle. Note that some packages on CRAN depend on tcltk so you may end up using it one way or another. I have no idea what AppDelete does (the description sounds scary) but if it simply traverses pkgutil then it's certainly a misnomer and you're not deleting Apps here... ;) Cheers, Simon
thanks have a nice day Finrod
On 25/01/13 15:46, Simon Urbanek wrote:
They are certainly tiny compared to today's disk sizes. If I recall correctly sudo gfortran-uninstall will remove the Fortran
ok, it worked.
As for Tcl/Tk I don't think I added an uninstaller - it lives in /usr/local so if you don't use it, you can blow it away, otherwise you'd have to use pkgutil to get the content - probably not worth the hassle. Note that some packages on CRAN depend on tcltk so you may end up using it one way or another.
good, I won't uninstall this one. thanks Finrod