[Rcpp-commits] r623 - in pkg: . inst/discovery

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Feb 7 10:20:58 CET 2010


Author: romain
Date: 2010-02-07 10:20:56 +0100 (Sun, 07 Feb 2010)
New Revision: 623

Modified:
   pkg/NAMESPACE
   pkg/inst/discovery/cxx0x.R
Log:
import capture.output from utils in Rcpp namespace (should fix the problem Leo Alekseyev reported)

Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2010-02-07 09:00:20 UTC (rev 622)
+++ pkg/NAMESPACE	2010-02-07 09:20:56 UTC (rev 623)
@@ -7,3 +7,6 @@
        RcppVectorExample, 
        Rcpp.package.skeleton
 )
+
+importFrom( utils, capture.output )
+

Modified: pkg/inst/discovery/cxx0x.R
===================================================================
--- pkg/inst/discovery/cxx0x.R	2010-02-07 09:00:20 UTC (rev 622)
+++ pkg/inst/discovery/cxx0x.R	2010-02-07 09:20:56 UTC (rev 623)
@@ -23,11 +23,6 @@
 local({
 	flag <- function(){
 	
-		# want.cxx0x <- Sys.getenv( "RCPP_WANT_CXX0X" , unset = "" ) 
-		# if( want.cxx0x != "yes" ){
-		# 	return(invisible(NULL))
-		# }
-		
 		cxx0x.code <- '
 		#include <R.h>
 		#include <Rdefines.h>



More information about the Rcpp-commits mailing list