On Wed, Apr 30, 2014 at 9:19 AM, Romain Francois
<rom...@r-enthusiasts.com> wrote:
> The plugin as implemented now is not portable.

It would presumably have the same problem on any OS if used witih g++
4.6.3.  An OS-independent way to do this would be to examine the
version of g++ used and act accordingly:

> sub(".*\\D(\\d+[.]\\d+[.]\\d+).*", "\\1", system("g++ --version", intern = 
> TRUE)[1])
[1] "4.6.3"
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to