Skip to content
Prev 9774 / 15075 Next

Compiling R-packages on Mac

On 30/03/2013 11:29, Petar Milin wrote:
You *really* do need to tell us the version of R and of OS X (they do 
matter, and are asked for in the posting guide).  I suggest that today 
you start with R 3.0.0 RC, and read the appropriate R-admin manual, 
which is pretty much the same as 
http://cran.r-project.org/doc/manuals/r-devel/R-admin.html and ships with R.

That manual tells you exactly what you need.  There are other ways, but 
don't ask for help until you have tried the official way.  And note that 
the recommended gfortran defaults to i386, so '-arch x86_64' is essential.

BTW, there are lots of tools you need on Linux not part of a basic 
install: for most distros gfortran is one of those.