[Rcpp-commits] r476 - in pkg: . inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jan 26 22:57:48 CET 2010


Author: romain
Date: 2010-01-26 22:57:47 +0100 (Tue, 26 Jan 2010)
New Revision: 476

Modified:
   pkg/NEWS
   pkg/inst/ChangeLog
Log:
added 0.7.2 into NEWS ... more later ...

Modified: pkg/NEWS
===================================================================
--- pkg/NEWS	2010-01-26 20:28:19 UTC (rev 475)
+++ pkg/NEWS	2010-01-26 21:57:47 UTC (rev 476)
@@ -85,5 +85,79 @@
     o	Rcpp::GenericVector::Proxy gains an assignment operator to deal
     	with Environment::Proxy objects
 
+0.7.3	2010-01-12
 
+    o	a new benchmark was added to the examples directory
+    	around the classic convolution example from
+    	Writing R extensions to compare C and C++ implementations
+
+    o 	Rcpp::CharacterVector::StringProxy gains a += operator
+    
+    o	Rcpp::Environment gains an operator[](string) to get/set
+    	objects from the environment. operator[] returns an object
+    	of class Rcpp::Environment::Binding which implements the proxy
+    	pattern. Inspired from Item 30 of 'More Effective C++'
+    
+    o	Rcpp::Pairlist and Rcpp::Language gain an operator[](int) 
+    	also using the proxy pattern
+
+    o	Rcpp::RObject.attr can now be used on the rhs or the lhs, to get 
+    	or set an attribute. This also uses the proxy pattern
     	
+    o	Rcpp::Pairlist and Rcpp::Language gain new methods push_back
+    	replace, length, size, remove, insert
+    	
+    o	wrap now returns an object of a suitable class, not just RObject
+    	anymore. For example wrap( bool ) returns a LogicalVector
+    	
+    o	Rcpp::RObject gains methods to deal with S4 objects : isS4, 
+    	slot and hasSlot
+    
+    o	new class Rcpp::ComplexVector to manage complex vectors (CPLXSXP)
+    
+    o	new class Rcpp::Promise to manage promises (PROMSXP)
+    
+    o	new class Rcpp::ExpressionVector to manage expression vectors
+    	(EXPRSXP)
+
+    o	new class Rcpp::GenericVector to manage generic vectors, a.k.a
+    	lists (VECSXP)
+
+    o	new class Rcpp::IntegerVector to manage integer vectors (INTSXP)
+    
+    o	new class Rcpp::NumericVector to manage numeric vectors (REALSXP)
+    
+    o	new class Rcpp::RawVector to manage raw vectors (RAWSXP)
+    
+    o	new class Rcpp::CharacterVector to manage character vectors (STRSXP)
+    
+    o	new class Rcpp::Function to manage functions 
+    	(CLOSXP, SPECIALSXP, BUILTINSXP)
+    
+    o	new class Rcpp::Pairlist to manage pair lists (LISTSXP)
+    
+    o	new class Rcpp::Language to manage calls (LANGSXP)
+    	
+    o	new specializations of wrap to deal with std::initializer lists
+    	only available with GCC >= 4.4
+    	
+    o	new R function Rcpp:::capabilities that can query if various
+    	features are available : exception handling, variadic templates
+    	initializer lists
+    	
+    o	new set of functions wrap(T) converting from T to RObject
+    
+    o	new template function as<T> that can be used to convert a SEXP
+    	to type T. Many specializations implemented to deal with 
+    	C++ builtin and stl types. Factored out of RObject
+    	
+    o	new class Rcpp::Named to deal with named with named objects 
+	in a pairlist, or a call
+
+    o	new class Rcpp::Symbol to manage symbols (SYMSXP)
+    
+    o	The garbage collection has been improved and is now automatic 
+    	and hidden. The user needs not to worry about it at all.
+    	
+    o	Rcpp::Environment(SEXP) uses the as.environment R function
+    

Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2010-01-26 20:28:19 UTC (rev 475)
+++ pkg/inst/ChangeLog	2010-01-26 21:57:47 UTC (rev 476)
@@ -426,8 +426,8 @@
 	* src/Rcpp/GenericVector.h : new class Rcpp::GenericVector
 	and an alias Rcpp::List to handle lists (VECSXP), aka generic
 	vectors
-	* src/NumericVector.cpp : implementation
-	* inst/unitTests/runit.NumericVector.R: unit tests
+	* src/GenericVector.cpp : implementation
+	* inst/unitTests/runit.GenericVector.R: unit tests
 
 	* src/Rcpp/IntegerVector.h : new class Rcpp::IntegerVector
 	to manage integer vector (INTSXP). IntegerVector can be
@@ -510,7 +510,7 @@
 	method that returns the parent environment
 
 	* src/Rcpp/as.h: template as<> to convert SEXP to classic
-	C++ types, fcactored out of RObject
+	C++ types, factored out of RObject
 
 	* src/as.cpp: specific implementations. as<int>, as<bool>
 	as<string>, ...



More information about the Rcpp-commits mailing list