Re: [Rd] Implementing a "plugin" paradigm with R methods

2011-08-23 Thread Martin Morgan
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: Say we have a function/method ('foo') that does something useful, but that should be open for extension in ONE specific area by OTHERS

[Rd] Implementing a "plugin" paradigm with R methods

2011-08-23 Thread Janko Thyson
Dear list, I was wondering how to best implement some sort of a "plugin" paradigm using R methods and the dispatcher: Say we have a function/method ('foo') that does something useful, but that should be open for extension in ONE specific area by OTHERS using my package. Of course they could go

[Rd] google fusiontables

2011-08-23 Thread RKoenker
I'm wondering whether anyone knows of an interface of R to google's relatively new fusiontables http://www.google.com/fusiontables/public/tour/index.html http://code.google.com/apis/fusiontables/docs/developers_guide.html having googled around a bit one comes eventually to this: http://andrei

[Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-08-23 Thread Janko Thyson
aDear list, I'm aware of the fact that I posted on something related a while ago, but I just can't sweat this off and would like to ask your for an opinion: The problem: Namespaces are great, but they don't resolve certain conflicts regarding name clashes. There are more and more people out t

Re: [Rd] getNativeSymbolInfo("user_unif_rand") returns different results on windows and linux

2011-08-23 Thread Renaud Gaujoux
Hi Martin, oups... I indeed had not seen this reply (maybe I should drink less water). Thank you and sorry for the gross bump. Duncan, thank you for the work around. A cache issue makes sense as shown by the sample code in my bump-post. The cache could be updated when loading a new DLL, by looki

[Rd] getNativeSymbolInfo("user_unif_rand") returns different results on windows and linux

2011-08-23 Thread Renaud Gaujoux
Hi, sorry to bump this post but I did not get any reply on this puzzling issue, which looks important though. While investigating the issue it came out that the value returned by getNativeSymbolInfo('user_unif_rand') (on Windows XP) seems to depend on whether it has already been called on th

Re: [Rd] problems with connections when applied in tryCatch

2011-08-23 Thread Joris Meys
Bug committed with number 14660 Cheers Joris 2011/8/22 Uwe Ligges : > > > On 18.08.2011 17:53, Joris Meys wrote: >> >> Recently on stackoverflow following problem came up : >> >> >> http://stackoverflow.com/questions/7103429/all-the-connections-are-in-use-execution-halted/7108799#7108799 >> >> A r