From plummerm at iarc.fr  Thu Apr 10 15:02:50 2014
From: plummerm at iarc.fr (Martyn Plummer)
Date: Thu, 10 Apr 2014 13:02:50 +0000
Subject: [Rd] R 3.1.0 and C++11
In-Reply-To: <21318.36099.233395.938198@max.nulle.part>
References: <21073.63553.888272.510490@max.nulle.part>
	<31E214B6DF75104E942856C2F74953CB0505C0F9@exchange>
	<21075.11278.577153.103691@max.nulle.part>
	<21148.34116.611590.24751@max.nulle.part>
	<21318.36099.233395.938198@max.nulle.part>
Message-ID: <1397134969.11062.0.camel@braque.iarc.fr>

On Thu, 2014-04-10 at 07:22 -0500, Dirk Eddelbuettel wrote:
> On 2 December 2013 at 07:04, Dirk Eddelbuettel wrote:
> | 
> | Following up on the thread spawned a while back, I just wanted to say that I
> | appreciate today's RSS serving of R-devel NEWS:
> | 
> |    CHANGES IN R-devel PACKAGE INSTALLATION
> | 
> |    There is _experimental_ support for compiling C++11 code in packages. The
> |    file ?src/Makevars? or ?src/Makevars.win? should define the macro
> |    ?USE_CXX11 = true?. Where needed, an alternative C++11 compiler can be
> |    specified by setting macros ?CXX11?, ?CXX11FLAGS? and so on, either when R
> |    is configured or in a personal ?Makevars? file. (The default is to use
> |    ?$(CXX) -std=c++11?.) 
> | 
> | Thanks for initial and incremental changes. They are appreciated.
> 
> And now a big thanks to Martyn and anybody else in R Core who pushed this
> through to the R 3.1.0 release this morning.

Credit it due to Brian here.
Martyn

> Having Makevars to let us say CXX_STD = CXX11 (plus the other variants) is a
> real step forward, and relying on the information gleaned at configuration
> time for R is sensible too.   
> 
> It's really good to have this, so thanks again.
> 
> Dirk
> 



[Rd] R 3.1.0 and C++11
Martyn Plummer