R 3.0.0 is due to be released on Apr 3, and is now in beta. Simon is travelling but before he left put up a binary distribution at http://r.research.att.com/snowleopard/R-3.0-branch/R-3.0-branch-snowleopard-signed.pkg . A high proportion of CRAN is available as binary packages, and we will improve that over the next two weeks.

UseRs and especially package developers are encouraged to try this out. For CRAN packages there are logs available at http://cran.r-project.org/web/checks/check_results_NAME.html (replace NAME by the name of your package).

Note that there are quite a few changes in this pre-release:

- it requires Snow Leopard or later.

- it is x86_64 only and sub-architectures are not used.

- the recommended compilers have changed and the CRAN distribution uses rather specific names for them to make it easier to match them. Those compilers need Xcode 4.2 or later and (if relevant) a Fortran compiler from http://r.research.att.com. Note that the binary is set up for the matching gfortran for 10.6: if you have Lion or Mountain Lion you will need to edit FLIBS in etc/Makeconf.

- the relevant manuals are part of the distribution, or see http://cran.r-project.org/doc/manuals/r-devel/R-admin.html, especially chapter 4 and sections 6.3.2 and C.4.

I've reported most of the issues thrown up with CRAN packages to their maintainers. Common issues are

- including headers such as R.h which have #defines before system headers and/or without R_NO_REMAP or similar (see 'Writing R Extensions').

- misuse of 'inline' in C code: only 'static inline' is really portable.

- lack of care with OpenMP: the CRAN distribution does not support OpenMP and this toolchain has flaky OpenMP support.

Note too that checking with clang (at least the version in Xcode 4.6) rather than gcc shows up further problems: the R-admin manual shows you how to set that up for yourself.

--
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

Reply via email to