On 30/03/2013 11:29, Petar Milin wrote:
Hello ALL!
I am a newbie on Mac, with long Linux experience (Ubuntu, than Debian, finally
Fedora, for many years). R on Mac is very pleasant and works nicely. However, I
noticed something strange, while I was trying to compile a package on which my
research team is working. Briefly, I could compile/install the package via R
interface, but not in console mode (terminal). It seems that some low-level
stuffs are missing, like gfortran and the like. Now, I wonder how it is
possible to compile the package successfully via R IDE, but not in terminal,
with R CMD INSTALL xyz?
Also, if I miss something which is not there by default, and provided by Xcode, how
to get that? Should I use Mac Ports? Homebrew? Or via packages on this site
<http://hpc.sourceforge.net/index.php>?
Please, help me with this? I am worried that PATHs are not nicely lined up and
integrated in my Mac OS X…
Best,
PM
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
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.
--
Brian D. Ripley, [email protected]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac