Re: [Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-06-01 Thread Thomas Friedrichsmeier
On Wednesday 01 June 2011, Simon Urbanek wrote: > This is a whole different story. So far I have been talking about embedding > GUIs which use Read/WriteConsole and that is also what the original > question was about. Obviously you can add toolkit packages, but I don't > consider those GUIs in the

Re: [Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-06-01 Thread Simon Urbanek
On Jun 1, 2011, at 1:50 PM, Thomas Friedrichsmeier wrote: > On Wednesday 01 June 2011, Simon Urbanek wrote: >> I suppose, yes, it's possible, but I see somewhat of an asymmetry if done >> that way : GUIs are like plug-ins in that there is a set of functions they >> have to implement to work prope

Re: [Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-06-01 Thread Thomas Friedrichsmeier
On Wednesday 01 June 2011, Simon Urbanek wrote: > I suppose, yes, it's possible, but I see somewhat of an asymmetry if done > that way : GUIs are like plug-ins in that there is a set of functions they > have to implement to work properly. In the current state this is done > using the C-level hooks,

Re: [Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-06-01 Thread Simon Urbanek
On May 31, 2011, at 5:23 PM, Thomas Friedrichsmeier wrote: > On Tuesday 31 May 2011, Simon Urbanek wrote: >> The history entries are somewhat in a grey area, because most GUIs use >> their own implementation of history (and thus they are irrelevant) and the >> *history() commands are documented t

Re: [Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-05-31 Thread Thomas Friedrichsmeier
On Tuesday 31 May 2011, Simon Urbanek wrote: > The history entries are somewhat in a grey area, because most GUIs use > their own implementation of history (and thus they are irrelevant) and the > *history() commands are documented to only use readline-backend. That > said, they could be easily use

[Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-05-31 Thread Simon Urbanek
On May 31, 2011, at 4:11 PM, Thomas Friedrichsmeier wrote: > On Tuesday 31 May 2011, Simon Urbanek wrote: >> I would expect so, but I'll let Luke comment on it. It is definitely a very >> bad idea. >> >> R provides facilities for customization and other GUIs are using them >> properly. If you are