Re: [Rd] Interrupting C++ code execution

2011-04-28 Thread Andrew Runnalls
Peter, On 25/04/11 10:22, schattenpfla...@arcor.de wrote: 1. Calling R_CheckUserInterrupt() interrupts immediately, so I have no possibility to exit my code gracefully. In particular, I suppose that objects created on the heap (e.g., STL containers) are not destructed properly. Sorry not to ha

Re: [Rd] Memory allocation in C/C++ vs R?

2010-05-09 Thread Andrew Runnalls
n - for as long as the pointer exists and points to that object. Let me know (offline from this list) if I can be of any help. Andrew Runnalls __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] CXXR: Refactoring the R interpreter into C++

2008-02-29 Thread Andrew Runnalls
interest to some readers of this list. Further information is at http://www.cs.kent.ac.uk/projects/cxxr Andrew Runnalls -- Dr Andrew Runnalls, Computing Laboratory, University of Kent, CANTERBURY CT2 7NF, UK Tel: (0)1227 823821 __ R-devel@r

Re: [Rd] strsignif.c, util.c (PR#10635)

2008-01-26 Thread Andrew Runnalls
n't. However, buffer overruns - when they do manifest themselves - can give rise to such baffling and hard-to-reproduce failures that they are like submerged rocks: well worth marking on the chart even if they're not close to current shipping lanes. Andrew Runnalls -- Dr Andrew

Re: [Rd] do_gsub (PR#10540)

2008-01-25 Thread Andrew Runnalls
Hin-Tak, Apologies for the delay in responding. On 2008/01/11 Hin-Tak Leung wrote: > I believe STRING_ELT() works even when pat is R_NilValue, so > the first line "does the right thing" even if the first element does not > exist. I think this is intentional and not a bug. > > Other more knowled