See R-admin manual C.3: OS X Probably most easily downloaded and installed by
curl -s http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 | sudo tar fxj - -C / The underlying issue here is that your instructions are really meant for advanced users, using packages that don't even provide binaries nor exist on CRAN. Cheers, Simon On Sep 8, 2014, at 4:01 PM, Jason Eyerly <[email protected]> wrote: > Now I’m really lost. It seems Xcode 4.2 can’t be installed on my version of > mac, but fortran is not available for anything above lion. I’ve seen fortran > 4.8 mentioned in Google, but can’t seem to find any signs of a download. > > On Sep 8, 2014, at 12:13 PM, David Winsemius <[email protected]> wrote: > >> >> On Sep 8, 2014, at 11:31 AM, David Winsemius wrote: >> >>> Well there is bit of a problem with this: "... Macbook Air running OSX >>> 10.9.2 ". >>> >>> There is no good reason to be using a version of R that is that old. But if >>> you can concoct a less-than-good reason to do so, then you need to a) have >>> the necessary Xcode for installing from source (which might not be the same >>> as the current versions of Xcode) and might depend on the unstated version >>> of MacOSX), b) identify (using the dates of packages) the version of the >>> source code for 'quantmod' and all of its dependencies, and then c) install >>> those from source all the versions of the relevant packages. >> >> My apologies for the cognitive error that misinterpreted this as R 2.9.2. >> >> I would ask if Jason has read this: >> http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X and has >> all the approporiate Xcode and matching compilers installed before >> attempting to compile from source (as one would need to do if getting >> packages from r-forge)? >> >> -- >> David. >>> >>> -- >>> David. >>> >>> >>> On Sep 8, 2014, at 10:06 AM, MacQueen, Don wrote: >>> >>>> First a couple of suggestions (people on the various R mailing lists tend >>>> to be picky about things) >>>> >>>> - do not send HTML email, send only plain text >>>> >>>> - spell things right (there is no package named “quant mod”, and >>>> misspelling means you are asking potential helpers to do more work than >>>> necessary) >>>> >>>> - show in the email (copy/paste) exactly what you tried, and exactly >>>> what the error messages were (people need that information to help). Not >>>> everyone is willing to go look at something that was posted somewhere. >>>> >>>> That said, when I tried >>>> install.packages(‘quantmod’) >>>> at the R prompt, it worked for me, shown below. >>>> >>>> >>>>> install.packages('quantmod') >>>> also installing the dependencies 'Defaults', 'TTR' >>>> >>>> trying URL >>>> 'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Defaults_1.1 >>>> -1.tgz' >>>> Content type 'application/x-gzip' length 122763 bytes (119 Kb) >>>> opened URL >>>> ================================================== >>>> downloaded 119 Kb >>>> >>>> trying URL >>>> 'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/TTR_0.22-0.t >>>> gz' >>>> Content type 'application/x-gzip' length 282163 bytes (275 Kb) >>>> opened URL >>>> ================================================== >>>> downloaded 275 Kb >>>> >>>> trying URL >>>> 'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/quantmod_0.4 >>>> -0.tgz' >>>> Content type 'application/x-gzip' length 447862 bytes (437 Kb) >>>> opened URL >>>> ================================================== >>>> downloaded 437 Kb >>>> >>>> >>>> >>>> A standard installation of R should succeed. >>>> >>>> I’ve never heard of a package named TTA, and it isn’t on CRAN. When a >>>> package isn’t on CRAN you should tell the list where it’s from. Maybe you >>>> meant TTR. >>>> >>>> I’m running OSX 10.9.4, R 3.1.1, and it’s the “Mavericks” version of R >>>> downloaded from CRAN. Don’t bother with older versions of R; virtually >>>> certain to be a waste of time. >>>> >>>> Possibly you need Xcode (from Apple), though not for quantmod itself, but >>>> one can’t tell without seeing the error messages. >>>> >>>> Can you install any packages at all, or is it just quantmod and a few >>>> others you’re having trouble with? >>>> >>>> >>>> -- >>>> Don MacQueen >>>> >>>> Lawrence Livermore National Laboratory >>>> 7000 East Ave., L-627 >>>> Livermore, CA 94550 >>>> 925-423-1062 >>>> >>>> >>>> >>>> >>>> From: Jason Eyerly <[email protected]> >>>> Date: Sunday, September 7, 2014 at 11:27 AM >>>> To: "[email protected]" <[email protected]> >>>> Subject: [R-SIG-Mac] Desperate For R-Forge/Quantmod Assistance... >>>> >>>> >>>> Hello Folks, >>>> I�m on a Macbook Air running OSX 10.9.2 and I�m trying to install some >>>> libraries or packages (quant mod, TTA, etc.) to begin learning how to use >>>> the software. Unfortunately, I�ve encountered errors every step along the >>>> way. I�ve tried with R versions 3.0.3, >>>> 3.1.0, and 3.1.1 all with no luck. I�ve had difficulty with everything >>>> from install.packages to install_github and just can�t seem to figure it >>>> out. The steps I�m trying to follow can be seen in the screenshots at the >>>> link below. If anybody can help me work >>>> this out, or remote connect to see my issues, and help me get this thing >>>> functional I�ll buy ya lunch! Thanks in advance! >>>> >>>> https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introd >>>> uction-r-trading-w-ilya-kipnis-3.html >>>> >>>> Best Regards, >>>> Jason E. >>>> [[alternative HTML version deleted]] >>>> >>>> >>>> >>>> _______________________________________________ >>>> R-SIG-Mac mailing list >>>> [email protected] >>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>>> >>>> _______________________________________________ >>>> R-SIG-Mac mailing list >>>> [email protected] >>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>> >>> David Winsemius >>> Alameda, CA, USA >>> >>> _______________________________________________ >>> R-SIG-Mac mailing list >>> [email protected] >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> >> David Winsemius >> Alameda, CA, USA > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
