Re: [Rd] list2env() is broken

2010-10-29 Thread Prof Brian Ripley
I have no idea what 'timeout' means, but that *should* take an extraordinarily long time (it is at least quadratic in the input length). This is the point of hashing -- you *need* hash=TRUE, and you should probably also set 'size' in new.env. There was an obvious missing PROTECT in this

Re: [Rd] Scripting SVG with R

2010-10-29 Thread Michael Lawrence
Lots of interesting responses to this, but I would add that the qtbase package allows for interesting hybrid applications between the web/javascript and R. Qt includes a WebKit port, which is integrated with the QtScript module, a javascript implementation. With qtbase, one could hypothetically

Re: [Rd] Reference Classes: Generalizing Reference Class Generator objects?

2010-10-29 Thread John Chambers
Good diagnoses. This thread brought up a point or two that needed some fixes to the documentation and code. They should be in r-devel and 2.12 patched (from rev. 53471). Briefly: - Initialization methods should take account of future subclasses to your class by including and passing on

Re: [Rd] list2env() is broken

2010-10-29 Thread Hervé Pagès
Hi, On 10/29/2010 12:17 AM, Prof Brian Ripley wrote: I have no idea what 'timeout' means, but that *should* take an extraordinarily long time (it is at least quadratic in the input length). This is the point of hashing -- you *need* hash=TRUE, and you should probably also set 'size' in new.env.

Re: [Rd] Reference Classes: Generalizing Reference Class Generator objects?

2010-10-29 Thread Vitalie S.
John Chambers j...@r-project.org writes: Good diagnoses. This thread brought up a point or two that needed some fixes to the documentation and code. They should be in r-devel and 2.12 patched (from rev. 53471). Briefly: - Initialization methods should take account of future subclasses

Re: [Rd] list2env() is broken

2010-10-29 Thread Henrik Bengtsson
On Fri, Oct 29, 2010 at 10:53 AM, Hervé Pagès hpa...@fhcrc.org wrote: Hi, On 10/29/2010 12:17 AM, Prof Brian Ripley wrote: I have no idea what 'timeout' means, but that *should* take an extraordinarily long time (it is at least quadratic in the input length). This is the point of hashing --

Re: [Rd] list2env() is broken

2010-10-29 Thread Simon Urbanek
On Oct 29, 2010, at 4:56 PM, Henrik Bengtsson wrote: On Fri, Oct 29, 2010 at 10:53 AM, Hervé Pagès hpa...@fhcrc.org wrote: Hi, On 10/29/2010 12:17 AM, Prof Brian Ripley wrote: I have no idea what 'timeout' means, but that *should* take an extraordinarily long time (it is at least

Re: [Rd] list2env() is broken

2010-10-29 Thread Hervé Pagès
Hi Simon, On 10/29/2010 02:57 PM, Simon Urbanek wrote: On Oct 29, 2010, at 4:56 PM, Henrik Bengtsson wrote: On Fri, Oct 29, 2010 at 10:53 AM, Hervé Pagèshpa...@fhcrc.org wrote: Hi, On 10/29/2010 12:17 AM, Prof Brian Ripley wrote: I have no idea what 'timeout' means, but that *should*