Skip to content
Prev 48005 / 63424 Next

R 3.1.0 and C++11

On Tue, Oct 29, 2013 at 1:58 AM, <romain at r-enthusiasts.com> wrote:
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