Hi, I am considering whether or not to buy an apple mac. I have noticed on one of the R FAQs for Mac OS X that you cannot install packages from other OS's if C++ code is contained. My question is: Is it possible to build the package sources containing C++ code on the Mac and then install them? Thanks in advance, Sam.
hi Sam, Building source packages with C++ source code is no problem at all on Mac OS X if you simply follow the instructions in the FAQ. best and good luck with your new Mac, from a content MAC user, best, ingmar On 1/7/05 2:45 PM, "Samuel Kemp" <sam.kemp2 at ntlworld.com> wrote:> Hi, > > I am considering whether or not to buy an apple mac. I have noticed on > one of the R FAQs for Mac OS X that you cannot install packages from > other OS's if C++ code is contained. My question is: Is it possible to > build the package sources containing C++ code on the Mac and then > install them? > > Thanks in advance, > > Sam. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Are you referring to this statement from the R FAQs for Mac OS X? "In same cases you can still build packages without all the tools installed, but surely not for all the packages containing C/C++ or Fortran source code." It is saying that if you do *not* have "all the tools" installed on your Mac, then you may not be able to install packages containing C++ code. But if you do take the steps necessary for building R from sources (i.e., install all the tools), then you will also be able to build such packages from sources. The FAQs also describe what those tools are, that you will have to install. I install R from source code, and I have yet to encounter a package I couldn't install from source. Many of them have C and/or Fortran. Whether any are C++ I don't know. Do you have any specific packages in mind? -Don At 1:45 PM +0000 1/7/05, Samuel Kemp wrote:>Hi, > >I am considering whether or not to buy an apple mac. I have noticed >on one of the R FAQs for Mac OS X that you cannot install packages >from other OS's if C++ code is contained. My question is: Is it >possible to build the package sources containing C++ code on the Mac >and then install them? > >Thanks in advance, > >Sam. > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA
Hi Sam. I have R 2.0.0, (haven't upgraded to 2.0.1 yet), on my Mac Powerbook 17" and it works like a complete champ. I've had no trouble whatsoever w/installing it, packages or the like. In fact, IMHO the good folks on the dev team for R have a bit more of a GUI for Mac than even for Windows, (def not trying to start a debate here.) Also, as an aside, I was prev running, FreeBSD 4.10 and could not install a few R packages due to the fact that I was running an older gcc compiler, (2.95 to be exact.) Since Mac's gcc is gcc 3.x, (3.2 I think), I've had no probs installing/compiling packages for R. So, from my POV, you really can't go wrong w/a Mac OSX product. I heartily recommend it as a user-friendly UNIX platform for R and related analytics. If you've specific questions, reply back to me or the newsgroup. There is an open source package called Fink, (http://fink.sourceforge.net/), which you will find invaluable for installing some of the base software(s) that may be req for some R packages such as the gcc Fortran compiler. It's a snap to install sources using Fink and it does all the managing for you. Fink is the Mac analog of Debians "apt" package manager. Good luck and, should you choose to go with Mac I'm relatively confident you will not be disappointed. Thanks, Charles [[alternative HTML version deleted]]