[R-SIG-Mac] R 3.0.0 beta
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Mar 20 15:29:40 CET 2013
On 20/03/2013 14:14, Kasper Daniel Hansen wrote:
> I have heard rumors of GCC 4.7.2, has this been abandoned?
At least for 3.0.0. It did not work well enough.
A more likely move is to clang. Clearly that has a future whereas
Apple's port of gcc does not. However, R package writers seem beloved
of g++'s lack of C++ standards conformance, and quite a high proportion
of C++-using packages do not compile with clang++ (nor the Solaris CC).
> On Wed, Mar 20, 2013 at 5:23 AM, Prof Brian Ripley
> <ripley at stats.ox.ac.uk> wrote:
>> 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
>> . 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, ripley at stats.ox.ac.uk
>> 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
>> R-SIG-Mac at r-project.org
Brian D. Ripley, ripley at stats.ox.ac.uk
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
More information about the R-SIG-Mac