On Mon, Jul 5, 2010 at 1:03 PM, Thomas Friedrichsmeier <thomas.friedrichsme...@ruhr-uni-bochum.de> wrote: > > How about this (could cover the case of reduced 's', too, if you think it's > important enough): When the limit is decreased: > 0) Accept the setting, i.e. reduce the limit. > 1) Check whether the history will need to be reduced. If so: > 2) Notify the user that the history will be trimmed. This *could* include the > question, whether to trim the history at once, or to delay that until the next > plot is added. In either case the notification will come from R, and be all R > code (i.e. do not make the C++ more complex). > > 2 can be done today using readline(). I always intented to add something like > rk.ask.yesnocancel (question="Go for it?", label.yes=NA, label.no=NA, > label.cancel=NA) to have a simple generic way to display a messagebox from R > code. This will be relatively easy to do, so you can assume it will be done > before the release (and nag me about it, if necessary).
This feels like a much better way to implement things. I'll do it with readline () and then change it to rk.ask.yesnocancel () whenever possible. Regards, -- Prasenjit ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel