[Rd] Rtools questions

2011-04-06 Thread Spencer Graves
Hello: 1. How can I tell when the development version of Rtools has changed? For the past few years, I've installed the development version of R tools with each new release of R. I encountered problems with this a few days ago, so I rolled back to Rtools212.exe. Unfortunately, I

Re: [Rd] Rtools questions

2011-04-06 Thread Spencer Graves
On 4/5/2011 5:01 PM, Gabor Grothendieck wrote: On Tue, Apr 5, 2011 at 7:51 PM, Henrik Bengtssonh...@biostat.ucsf.edu wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdochmurdoch.dun...@gmail.com wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: Hello: 1. How can I tell when the

Re: [Rd] Rtools questions

2011-04-06 Thread Duncan Murdoch
On 11-04-05 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdochmurdoch.dun...@gmail.com wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: Hello: 1. How can I tell when the development version of Rtools has changed? I don't make announcements of

Re: [Rd] Rtools questions

2011-04-06 Thread Gabor Grothendieck
On Wed, Apr 6, 2011 at 7:54 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-04-05 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdochmurdoch.dun...@gmail.com  wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: Hello:         1.  How can I tell when the

[Rd] S4 generic functions/methods vs enclosures

2011-04-06 Thread A Zege
Apologies for asking something that is probably very obvious, i just started with S4 classes and i guess i am not finding documentation that lays out the grammar rules and gives enough examples. I understand that main method of writing a member function is to write a generic function and

Re: [Rd] Rtools questions

2011-04-06 Thread Duncan Murdoch
On 06/04/2011 8:16 AM, Gabor Grothendieck wrote: On Wed, Apr 6, 2011 at 7:54 AM, Duncan Murdochmurdoch.dun...@gmail.com wrote: On 11-04-05 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdochmurdoch.dun...@gmail.com wrote: On 11-04-05 6:22 PM, Spencer Graves

Re: [Rd] S4 generic functions/methods vs enclosures

2011-04-06 Thread John Chambers
Look at ?ReferenceClasses for this OOP paradigm in R, which is quite different from the functional paradigm of S4 methods. On 4/6/11 7:54 AM, A Zege wrote: Apologies for asking something that is probably very obvious, i just started with S4 classes and i guess i am not finding documentation

Re: [Rd] Rtools questions

2011-04-06 Thread Henrik Bengtsson
On Wed, Apr 6, 2011 at 4:54 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-04-05 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdochmurdoch.dun...@gmail.com  wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: Hello:         1.  How can I tell when the

Re: [Rd] S4 generic functions/methods vs enclosures

2011-04-06 Thread A Zege
This looks awesome -- it is precisely what i wanted. I have started hacking with passing around environments to simulate behavior of classes i was after, but this is so much neater. Reference classes seem to do precisely what i wanted. Thank you very much. -- View this message in context:

[Rd] Activating a Regular Binding

2011-04-06 Thread Gabriel Becker
Greeting R-devel, I find myself wanting to attach an active binding to an existing object in the global environment (R 2.12.2), but there doesn't seem to be an easy way to do this: x = 5 makeActiveBinding(x, function(d) hi, .GlobalEnv) Error in makeActiveBinding(x, function(d) hi, .GlobalEnv)