Re: [Rd] Useful statusbar in RGui

From: talepanda <talepanda_at_gmail.com>
Date: Wed 24 Jan 2007 - 15:05:55 GMT

Dear Prof Ripley, thank you for your suggestion.

> > I think it is very useful if statusbars says current directory,
> > because in my daily use I open several Rgui windows in different
> > directory (that is, different project), and it is diffecult to find
> > the window which I want.
>
> It is not clear to me that information is best put in the status bar and
> not the title bar (which is where Unix-like systems can put it, and even
> where Explorer does, and can be seen in the minimized versions). So I
> would think setWindowTitle() was at least as appropriate (and so did the
> person who wrote its examples).

Title bar is good alternative.
Adding codes below to Rprofile.site works good.

utils::setWindowTitle(base::getwd())
utils::assignInNamespace("setwd",function(dir){.Internal(setwd(dir));setWindowTitle(base::getwd())},"base")

>
> > Someone may hope something else.
> >
> >
> > So, my proposal is to allow users to change the message in status bar.
> >
> > I think that a wrapper for function "setstatus" in
> > src/guiwin32/graphapp/status.c is enough for this purpose.
>
> Yes, that has been proposed recently in connection with interfaces for
> messages(). Note though that at present only the MDI interface has the
> option of a status bar. I think we should move to a more standard way of
> having these 'toolbars' on or off (e.g. ticked items on a View menu).
>

I agree.
A standard interface is a good interface, and a good interface helps our works.

Thanks, again.



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Jan 25 16:17:23 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 Jan 2007 - 07:31:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.