[Rcpp-commits] r2211 - pkg/Rcpp/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Sep 27 15:19:34 CEST 2010
Author: romain
Date: 2010-09-27 15:19:34 +0200 (Mon, 27 Sep 2010)
New Revision: 2211
Modified:
pkg/Rcpp/src/RcppFrame.cpp
Log:
using some known symbols instead of Rf_install ing them
Modified: pkg/Rcpp/src/RcppFrame.cpp
===================================================================
--- pkg/Rcpp/src/RcppFrame.cpp 2010-09-27 13:18:58 UTC (rev 2210)
+++ pkg/Rcpp/src/RcppFrame.cpp 2010-09-27 13:19:34 UTC (rev 2211)
@@ -409,7 +409,7 @@
#undef RCPP_HANDLE_DF
}
- Rf_setAttrib( rl, Rf_install("names"), nm ) ;
+ Rf_setAttrib( rl, R_NamesSymbol, nm ) ;
UNPROTECT(2) ;
return rl ;
More information about the Rcpp-commits
mailing list