I did follow instructions for getting MAC tools and installed fortran. I then tried installing quantstrat which failed but I tried from sources. The installer was unable to find the gfortran which does exist on my system, but a different version.
https://cran.r-project.org/bin/macosx/tools/ <https://cran.r-project.org/bin/macosx/tools/> Used above to load gfortran-4.2.3.pkg (OS X 10.5+, signed, 64-bit driver) The fortran was installed in usr2 and I moved local to the usr directory and then executed export PATH=$PATH:/usr/local/bin In RStudio I did the install and said yes from sources install.packages("quantstrat", repos="http://R-Forge.R-project.org <http://r-forge.r-project.org/>") also installing the dependencies ‘PerformanceAnalytics’, ‘blotter’ Warning in install.packages : URL 'http://download.r-forge.r-project.org/bin/macosx/mavericks/contrib/3.3/PA <http://download.r-forge.r-project.org/bin/macosx/mavericks/contrib/3.3/PA> CKAGES.gz': status was '404 Not Found' Warning in install.packages : URL 'http://download.r-forge.r-project.org/bin/macosx/mavericks/contrib/3.3/PA <http://download.r-forge.r-project.org/bin/macosx/mavericks/contrib/3.3/PA> CKAGES': status was '404 Not Found' Warning in install.packages : unable to access index for repository http://R-Forge.R-project.org/bin/macosx/mavericks/contrib/3.3: <http://r-forge.r-project.org/bin/macosx/mavericks/contrib/3.3:> cannot download all files Packages which are only available in source form, and may need compilation of C/C++/Fortran: ‘PerformanceAnalytics’ ‘blotter’ ‘quantstrat’ Do you want to attempt to install these from sources? y/n: y installing the source packages ‘PerformanceAnalytics’, ‘blotter’, ‘quantstrat’ trying URL 'http://R-Forge.R-project.org/src/contrib/PerformanceAnalytics_1.4.40 <http://r-forge.r-project.org/src/contrib/PerformanceAnalytics_1.4.40> 00.tar.gz' Content type 'application/x-gzip' length 2119678 bytes (2.0 MB) ================================================== downloaded 2.0 MB trying URL 'http://R-Forge.R-project.org/src/contrib/blotter_0.9.1741.tar.gz <http://r-forge.r-project.org/src/contrib/blotter_0.9.1741.tar.gz>' Content type 'application/x-gzip' length 74117 bytes (72 KB) ================================================== downloaded 72 KB trying URL 'http://R-Forge.R-project.org/src/contrib/quantstrat_0.9.1739.tar.gz <http://r-forge.r-project.org/src/contrib/quantstrat_0.9.1739.tar.gz>' Content type 'application/x-gzip' length 799472 bytes (780 KB) ================================================== downloaded 780 KB * installing *source* package ‘PerformanceAnalytics’ ... ** libs gfortran-4.8 -fPIC -Wall -g -O2 -c momentF.f90 -o momentF.o make: gfortran-4.8: No such file or directory make: *** [momentF.o] Error 1 ERROR: compilation failed for package ‘PerformanceAnalytics’ * removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Per formanceAnalytics’ Warning in install.packages : installation of package ‘PerformanceAnalytics’ had non-zero exit status ERROR: dependency ‘PerformanceAnalytics’ is not available for package ‘blotter’ * removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/blo tter’ Warning in install.packages : installation of package ‘blotter’ had non-zero exit status ERROR: dependency ‘blotter’ is not available for package ‘quantstrat’ * removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/qua ntstrat’ Warning in install.packages : installation of package ‘quantstrat’ had non-zero exit status The downloaded source packages are in ‘/private/var/folders/7l/dpy9h0ss2450qcp053x0_sk00000gn/T/Rtmp7zLZ6J/download ed_packages’ Leo Shpiz 518-488-7326 [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac