Re: [Fink-users] r-base install problem
On 16/1/2008 8:23 PM, Martin Costabel at [EMAIL PROTECTED] spake thus: > This whole arrangement doesn't look healthy to me. If one needs to ask > people to download a part of the precompiled R distribution, then why > have a Fink package in the first place? All R.app really gives you is syntax-colouring and a Quartz output device. You don't need these in order to use Fink's R, you can just run the "R" command in the shell and use X11. Works fine, especially after I put together a BBEdit language module for it. The Quartz output *is* much nicer though :) -- Nigel Stanger, mailto:[EMAIL PROTECTED] Dunedin, NEW ZEALAND.Fnord. Heckel's Principle of Dealing with Big Companies: There is no such thing as a free lunch; unless you're the lunch. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
At 6:26 AM -0500 1/16/08, Ben Abbott wrote: >On Jan 15, 2008, at 9:42 AM, Alexander Hansen wrote: > <- snip -> >In any event, tor my purpose, I only need to understand the manner by >which R computes quantiles, so that the same algorithm may be applied >to Octave. Hence, my need is short term. In that case, I think the R documentation is adequate. Go to a CRAN mirror, such as http://cran.cnr.berkeley.edu/, click on the "Manuals" link at the left, download the R Reference Index (a pdf), find the man page for the quantile function (in the stats package), and I think you'll have what you're looking for. Or install the binary distribution for Mac OS X from CRAN and use the help from there. If your Mac OS is too old for the current CRAN, older versions can be found at CRAN. Source code can be downloaded easily enough from CRAN if you want to see the actual source code. -Don >However, I can still take a look at this if you think it proper to >press on. > >Ben > >- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >___ >Fink-users mailing list >Fink-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/fink-users -- -- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA 925-423-1062 -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Abbott wrote: | | Alex, | | After looking at this a bit, I'm in agreement with Martin. | | In any event, tor my purpose, I only need to understand the manner by | which R computes quantiles, so that the same algorithm may be applied | to Octave. Hence, my need is short term. | | However, I can still take a look at this if you think it proper to | press on. | | Ben | Only if you want to, and at your leisure. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjfmUB8UpO3rKjQ8RArc3AJ4sQxpSFpn8IHuRI8tl+8ygDW9BxwCgo97d FFtbsBb192Gc9ZIOvmTjXc8= =lrTu -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
On Jan 15, 2008, at 9:42 AM, Alexander Hansen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > Ben Abbott wrote: > | > | On Jan 14, 2008, at 11:10 PM, Ben Abbott wrote: > | > |> I'm trying to install GNU's R. > |> > |> The install of r-base went fine, but when I tried to follow the > instructions for installation fo the GUI; > |> > |> R.app no longer included in the R source distribution. To > install, go to http://cran.r-project.org/bin/macosx/, download and > install R-GUI.dmg. You will then need to edit Info.plist inside the > app bundle to point to /sw/Library/R.Framework (instead of /Library/ > R.Framework). > |> -- http://pdb.finkproject.org/pdb/package.php/r-base > |> > |> The installer refused to allow me to install the GUI. > |> > |> "You cannot install R GUI for Mac OS X on this volume. Requires > Mac OS X 10.4.4 or higher." > |> > |> I should point out that the installer contains 4 packages. > "gfortran.pkg", "R-Framework.pkg", "R-GUI.pkg", and "tcltk.pkg". > Since the others are already installed via Fink, I only tried to > install R-GUI. > |> > |> The fix was to edit the Info.plist in the bundle for R-GUI.dmg > *before* installing. I'd like to suggest a change to the > documentation. Perhaps something like the below. > |> > |> R.app no longer included in the R source distribution. To > install, go to http://cran.r-project.org/bin/macosx/, and download, > move a copy of > |> "R-GUI.dmg" to your desktop, and edit Info.plist inside the "R- > GUI.dmg" > |> bundle to point to /sw/Library/R.Framework (instead of /Library/ > R.Framework). > |> Once R-GUI knows where the Framework resides, you can install. > |> -- http://pdb.finkproject.org/pdb/package.php/r-base > |> > |> Ben > |> > | > | I did a bit more digging. When I try to run R from inside the > installed bundle, I get > | > | ./R > | dyld: Library not loaded: /Library/Frameworks/R.framework/Versions/ > 2.6/Resources/lib/libR.dylib > | Referenced from: /Applications/R.app/Contents/MacOS/./R > | Reason: image not found > | Trace/BPT trap > | > | Meanwhile the Info.plist file in the bundle does not contain a > reference to the R.framework. > | > | Ben > | > | - > | > Jeff W. isn't maintaining the package any more so I took him off the > reply. > > This issue points out why it's a pain to try to have anything > integrate with non-Fink 3rd-party stuff--they like to change things > around, and we have to figure out how to adjust our packages > accordingly. In this case it looks like you're also going to need > to do something like > > sudo install_name_tool /Library/Frameworks/R.framework/Versions/2.6/ > Resources/lib/libR.dylib \ > /sw/Library/Frameworks/R.framework/Versions/2.6/Resources/lib/ > libR.dylib /Applications/R.app/Contents/MacOS/./R > > See if that works--if so then we'll update the docs accordingly. > Alex, After looking at this a bit, I'm in agreement with Martin. In any event, tor my purpose, I only need to understand the manner by which R computes quantiles, so that the same algorithm may be applied to Octave. Hence, my need is short term. However, I can still take a look at this if you think it proper to press on. Ben - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
Alexander Hansen wrote: [] > This issue points out why it's a pain to try to have anything integrate > with non-Fink 3rd-party stuff--they like to change things around, and we > have to figure out how to adjust our packages accordingly. In this case > it looks like you're also going to need to do something like > > sudo install_name_tool > /Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib \ > /sw/Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib > /Applications/R.app/Contents/MacOS/./R This whole arrangement doesn't look healthy to me. If one needs to ask people to download a part of the precompiled R distribution, then why have a Fink package in the first place? On the other hand, the sources for the R.app do exist somewhere, and it should be possible (and a rather trivial task compared with the compilation of the whole thing) for the Fink package to build the app bundle with the right library names, too. -- Martin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
On 16/1/2008 3:42 AM, Alexander Hansen at [EMAIL PROTECTED] spake thus: > sudo install_name_tool > /Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib \ > /sw/Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib > /Applications/R.app/Contents/MacOS/./R I tried more or less that a while back by creating a symlink to sw/Library/Frameworks/R.framework in /Library/Frameworks. That seemed to work fine for most things, but I eventually ran into some really weird problems (which I can't remember the details of, sorry) that stopped me in my tracks. I ended up removing the fink version and just installing the full R.pkg and it all worked fine after that. -- Nigel Stanger, mailto:[EMAIL PROTECTED] Dunedin, NEW ZEALAND.Fnord. "You know the world is coming to an end when the best golfer is black, the best rapper is white, Apple goes to x86 and Microsoft goes PowerPC. Good thing I bought Armageddon insurance!!" --- seen on Slashdot, 2005-06-03 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Abbott wrote: | | On Jan 14, 2008, at 11:10 PM, Ben Abbott wrote: | |> I'm trying to install GNU's R. |> |> The install of r-base went fine, but when I tried to follow the instructions for installation fo the GUI; |> |> R.app no longer included in the R source distribution. To install, go to http://cran.r-project.org/bin/macosx/, download and install R-GUI.dmg. You will then need to edit Info.plist inside the app bundle to point to /sw/Library/R.Framework (instead of /Library/R.Framework). |> -- http://pdb.finkproject.org/pdb/package.php/r-base |> |> The installer refused to allow me to install the GUI. |> |> "You cannot install R GUI for Mac OS X on this volume. Requires Mac OS X 10.4.4 or higher." |> |> I should point out that the installer contains 4 packages. "gfortran.pkg", "R-Framework.pkg", "R-GUI.pkg", and "tcltk.pkg". Since the others are already installed via Fink, I only tried to install R-GUI. |> |> The fix was to edit the Info.plist in the bundle for R-GUI.dmg *before* installing. I'd like to suggest a change to the documentation. Perhaps something like the below. |> |> R.app no longer included in the R source distribution. To install, go to http://cran.r-project.org/bin/macosx/, and download, move a copy of |> "R-GUI.dmg" to your desktop, and edit Info.plist inside the "R-GUI.dmg" |> bundle to point to /sw/Library/R.Framework (instead of /Library/R.Framework). |> Once R-GUI knows where the Framework resides, you can install. |> -- http://pdb.finkproject.org/pdb/package.php/r-base |> |> Ben |> | | I did a bit more digging. When I try to run R from inside the installed bundle, I get | | ./R | dyld: Library not loaded: /Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib | Referenced from: /Applications/R.app/Contents/MacOS/./R | Reason: image not found | Trace/BPT trap | | Meanwhile the Info.plist file in the bundle does not contain a reference to the R.framework. | | Ben | | - | Jeff W. isn't maintaining the package any more so I took him off the reply. This issue points out why it's a pain to try to have anything integrate with non-Fink 3rd-party stuff--they like to change things around, and we have to figure out how to adjust our packages accordingly. In this case it looks like you're also going to need to do something like sudo install_name_tool /Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib \ /sw/Library/Frameworks/R.framework/Versions/2.6/Resources/lib/libR.dylib /Applications/R.app/Contents/MacOS/./R See if that works--if so then we'll update the docs accordingly. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjMZYB8UpO3rKjQ8RAsOyAJ4mOp3qsQPCrdSiqJ6uvwpF8clrzACeIW6+ vMoJ9/TpZqQ909pVb5HKJGE= =wqJV -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] r-base install problem
On Jan 14, 2008, at 11:10 PM, Ben Abbott wrote: I'm trying to install GNU's R. The install of r-base went fine, but when I tried to follow the instructions for installation fo the GUI; R.app no longer included in the R source distribution. To install, go to http://cran.r-project.org/bin/macosx/, download and install R- GUI.dmg. You will then need to edit Info.plist inside the app bundle to point to /sw/Library/R.Framework (instead of /Library/R.Framework). -- http://pdb.finkproject.org/pdb/package.php/r-base The installer refused to allow me to install the GUI. "You cannot install R GUI for Mac OS X on this volume. Requires Mac OS X 10.4.4 or higher." I should point out that the installer contains 4 packages. "gfortran.pkg", "R-Framework.pkg", "R-GUI.pkg", and "tcltk.pkg". Since the others are already installed via Fink, I only tried to install R-GUI. The fix was to edit the Info.plist in the bundle for R-GUI.dmg *before* installing. I'd like to suggest a change to the documentation. Perhaps something like the below. R.app no longer included in the R source distribution. To install, go to http://cran.r-project.org/bin/macosx/, and download, move a copy of "R-GUI.dmg" to your desktop, and edit Info.plist inside the "R- GUI.dmg" bundle to point to /sw/Library/R.Framework (instead of /Library/ R.Framework). Once R-GUI knows where the Framework resides, you can install. -- http://pdb.finkproject.org/pdb/package.php/r-base Ben I did a bit more digging. When I try to run R from inside the installed bundle, I get ./R dyld: Library not loaded: /Library/Frameworks/R.framework/Versions/2.6/ Resources/lib/libR.dylib Referenced from: /Applications/R.app/Contents/MacOS/./R Reason: image not found Trace/BPT trap Meanwhile the Info.plist file in the bundle does not contain a reference to the R.framework. Ben- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] r-base install problem
I'm trying to install GNU's R. The install of r-base went fine, but when I tried to follow the instructions for installation fo the GUI; R.app no longer included in the R source distribution. To install, go to http://cran.r-project.org/bin/macosx/, download and install R- GUI.dmg. You will then need to edit Info.plist inside the app bundle to point to /sw/Library/R.Framework (instead of /Library/R.Framework). -- http://pdb.finkproject.org/pdb/package.php/r-base The installer refused to allow me to install the GUI. "You cannot install R GUI for Mac OS X on this volume. Requires Mac OS X 10.4.4 or higher." I should point out that the installer contains 4 packages. "gfortran.pkg", "R-Framework.pkg", "R-GUI.pkg", and "tcltk.pkg". Since the others are already installed via Fink, I only tried to install R- GUI. The fix was to edit the Info.plist in the bundle for R-GUI.dmg *before* installing. I'd like to suggest a change to the documentation. Perhaps something like the below. R.app no longer included in the R source distribution. To install, go to http://cran.r-project.org/bin/macosx/, and download, move a copy of "R-GUI.dmg" to your desktop, and edit Info.plist inside the "R-GUI.dmg" bundle to point to /sw/Library/R.Framework (instead of /Library/ R.Framework). Once R-GUI knows where the Framework resides, you can install. -- http://pdb.finkproject.org/pdb/package.php/r-base Ben - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users