[Rd] R 3.1.0 and C++11

Gabor Grothendieck ggrothendieck at gmail.com
Thu Apr 10 17:14:56 CEST 2014


On Tue, Oct 29, 2013 at 1:58 AM,  <romain at r-enthusiasts.com> wrote:
> Le 2013-10-29 03:01, Whit Armstrong a écrit :
>
>> I would love to see optional c++0x support added for R.
>
>
> c++0x was the name given for when this was in development. Now c++11 is a
> published standard backed by implementations by major compilers.
> people need to stop calling it c++0x
>
>
>> If there is anything I can do to help, please let me know.
>
>
> Come here https://github.com/romainfrancois/cpp11_article where I'm writing
> an article on C++11 and what would be the benefits.
>

Unless you are willing to do it yourself currently Rtools on Windows uses
g++ 4.6.3 and that requires that one specify -std=c++0x or -std=gnu++0x .

Ubuntu 12.04 LTS also provides g++ 4.6.3.

g++ 4.7 is the first version of g++ that accepts -std=c++11 or -std=gnu++11

More info at:
http://gcc.gnu.org/projects/cxx0x.html



More information about the R-devel mailing list