Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread Ulrike Grömping
Dear John and Milan, thanks a lot for your input. Unfortunately, this is by far not the only think preventing my dialog from working, I am afraid. This was the start of the matter, as far as I remember, but I think that buttons like my refresh button etc. will also need special attention - as

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread John Fox
Dear Milan and Ulrike, The purpose of errorCondition() is to put a dialog in the state it was in prior to the erroneous input, reflecting, e.g., prior selections. Like all Rcmdr utility functions, its use isn't mandatory -- it's simply meant to be convenient and to encourage some consistency in

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread Milan Bouchet-Valat
Le mercredi 13 février 2013 à 13:16 +0100, Ulrike Grömping a écrit : > Milan, > > I am not closing the dialog, but without the dialog in the search space, > I cannot properly refer to it any more using e.g. the Rcmdr function > errorCondition. > It has been a long time ago that I wrote this; I d

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread Ulrike Grömping
Milan, I am not closing the dialog, but without the dialog in the search space, I cannot properly refer to it any more using e.g. the Rcmdr function errorCondition. It has been a long time ago that I wrote this; I don't have a small reproducible example right now. Below is an example of what I

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread Milan Bouchet-Valat
Le mardi 12 février 2013 à 14:45 +0100, Ulrike Grömping a écrit : > Dear DevelopeRs, > > I've been struggling with the new regulations regarding modifications to > the search path, regarding my Rcmdr plugin package RcmdrPlugin.DoE. John > Fox made Rcmdr comply with the new policy by removing the

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-12 Thread Hadley Wickham
> Here my question: Would it be an option to place the widgets in a private > environment of my plugin package (then I would have to learn how to create > one and work with it), or won't they be found that way? It sounds like you want to maintain state across function calls within your package, an

[Rd] Private environments and/or assignInMyNamespace

2013-02-12 Thread Ulrike Grömping
Dear DevelopeRs, I've been struggling with the new regulations regarding modifications to the search path, regarding my Rcmdr plugin package RcmdrPlugin.DoE. John Fox made Rcmdr comply with the new policy by removing the environment RcmdrEnv from the search path. For the time being, he develop