[Rcpp-devel] bug hunting

Dirk Eddelbuettel edd at debian.org
Tue Mar 23 12:34:21 CET 2010


On 23 March 2010 at 11:14, Romain Francois wrote:
| I think the bug reported by Doug in the "Extract a function from a list 
| and create a call" thread is now fixed.
| 
| The problem was Vector did not have copy constructor and assignement 
| operators, so the compiler did generate silly ones for us. Do the vector 
| cache was not updated, so the string_proxy was holding an innapropriate 
| VECTOR*.

Nice one! Good work.
 
| Please let me know if this works now.
| 
| In this debuggin battle, I defined the macro RCPP_DEBUG which is similar 
| to logTxt but allows printf formatting on the text and also the DEMANGLE 
| macro that demangles a c++ class name.

Very useful, and hadn't come across it. Where did you find that?

Dirk

-- 
  Registration is open for the 2nd International conference R / Finance 2010
  See http://www.RinFinance.com for details, and see you in Chicago in April!


More information about the Rcpp-devel mailing list