Re: [Rd] CXX_STD and configure.ac in packages

2014-03-30 Thread Romain Francois
Hi, My advice would be to use SystemRequirements: C++11 As is definitely a part of C++11, assuming this version of the standard gives it to you. Your package may not compile on platforms where a C++11 compiler is not available, but perhaps if this becomes a pattern, then such compilers will

[Rd] rgl question

2014-03-30 Thread Dominick Samperi
Hello, If I call lines3d(x,y,z) I get lines connecting each point, but when I call rgl.lines(x,y,z) I get dashed lines, and adding something like type='l' leads to an error message. The docs seem to suggest that rgl.lines() calls lines3d(), so I would expect the result to be the same. Any tips wo

Re: [Rd] CXX_STD and configure.ac in packages

2014-03-30 Thread Dirk Eddelbuettel
Hi Martin, On 30 March 2014 at 12:50, Martin Morgan wrote: | In C++ code for use in a R-3.1.0 package, my specific problem is that I would | like to use if it is available, or if not, | or if all else fails. This non-standardization over the last decade caused a lot of headaches. We do

[Rd] CXX_STD and configure.ac in packages

2014-03-30 Thread Martin Morgan
In C++ code for use in a R-3.1.0 package, my specific problem is that I would like to use if it is available, or if not, or if all else fails. I (think I) can accomplish this with configure.ac as AC_INIT("DESCRIPTION") CXX=`"${R_HOME}/bin/R" CMD config CXX` CXXFLAGS=`"${R_HOME}/bin/R" CMD