Re: [Rd] Plans to improve reference classes?

2015-06-23 Thread Michael Lawrence
Could of requests: 1) Is there any example or writeup on the difficulties of extending reference classes across packages? Just so I can fully understand the issues. 2) In what sorts of situations does the performance of reference classes cause problems? Sure, it's an order of magnitude slower tha

[Rd] GCC update in Rtools?

2015-06-23 Thread Avraham Adler
Hello. There was a lot of discussion in March about the difficulties in having Rtools use a more recent version of GCC than 4.6.3. May we know if there has been any progress since then, or has dveleopment/testing been put on hold for the time being? Thank you, Avi __

Re: [Rd] Plans to improve reference classes?

2015-06-23 Thread Hadley Wickham
> 1) Is there any example or writeup on the difficulties of extending > reference classes across packages? Just so I can fully understand the > issues. Here's a simple example: library(scales) library(methods) MyRange <- setRefClass("MyRange", contains = "DiscreteRange") a_range <- MyRange() a_r

Re: [Rd] Plans to improve reference classes?

2015-06-23 Thread John Chambers
I understand Hadley's point; it's a consequence of the modification of the environment of the ref. class methods. Good point, but it seems we can make that an option (there are advantages to it of code quality and ease of writing, when it works); Let's discuss possibilities, off-list until thin

Re: [Rd] Plans to improve reference classes?

2015-06-23 Thread Winston Chang
I can provide a little background on why particular choices were made for R6. Generally speaking, speed is a primary consideration in making decisions about the design of R6. The basic structure of R6 classes is actually not so different from reference classes: an R6 object is an environment. But m

Re: [Rd] GCC update in Rtools?

2015-06-23 Thread Duncan Murdoch
On 23/06/2015 10:36 AM, Avraham Adler wrote: Hello. There was a lot of discussion in March about the difficulties in having Rtools use a more recent version of GCC than 4.6.3. May we know if there has been any progress since then, or has dveleopment/testing been put on hold for the time being?

Re: [Rd] Listing all spawned jobs/processed after parallel::mcparallel()?

2015-06-23 Thread Henrik Bengtsson
On Sun, Jun 21, 2015 at 9:59 AM, Prof Brian Ripley wrote: > On 20/06/2015 22:21, Henrik Bengtsson wrote: >> >> QUESTION: >> Is it possible to query number of active jobs running after launching >> them with parallel::mcparallel()? >> >> For example, if I launch 3 jobs using: >> >>> library(paralle