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] 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] 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*

[Rd] list2env() is broken

2010-10-28 Thread Hervé Pagès
Hi, The following code produces different kinds of problems depending on which platform you run it: x - as.list(1:20) names(x) - paste(A, 1:20, sep=) e - list2env(x) Timeout on Linux, crash on Mac and Windows, with R 2.12.0 and current R devel. The multi-assign mode (i.e. when