Hi Martin,
thanks a lot for the quick reply. I'll try your suggestions.
Regards,
Janko
On 24.08.2011 06:37, Martin Morgan wrote:
On 08/23/2011 03:02 PM, Janko Thyson wrote:
Dear list,
I was wondering how to best implement some sort of a "plugin" paradigm
using R methods and the dispatcher:
S
Dear list,
in ?setRefClass it says that '...' can be used to supply other arguments
that are passed to 'setClass()'.
Yet, I think that's not true for argument 'prototype', but maybe I
overlooked something:
setClass("Plugin")
setClass(Class="PluginDefault", contains="Plugin",
representat
Hi Martin,
thanks a lot again for your suggestions! I played around a bit with it
today and this is the solution that I like the most.
The main extensions compared to your code are:
1) Using Reference Classes (I don't know, but I just like them somehow ;-))
1) Basing method dispatch for plugin