Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to rename R icon in Windows' XP taskbar ? To display for example "R 2.13.0" instead of "RGui" ? Is it possible to do that from the inside of R (from the level of console) ?

ps. I'm not interested in building new form modified source

share|improve this question

migrated from Jun 4 '11 at 2:31

This question came from our site for professional and enthusiast programmers.

Right click on the icon on your desktop or on the Programs popup (in Windows) and "Rename" should be one of the options. You are only renaming the icon, not the R executable. Doing it from within R would be very painful (if it's even possible).

share|improve this answer
So there isn't any way to change the name of RGUI main window ? .Platform$GUI gives "RGui" and there is no possibility to change that parameter (only it's name) ? – Qbik Jun 3 '11 at 22:52
That value is used by programs to determine if graphics or API differences need to be accounted for. It is not going to change either the taskbar label in Windows (which I thought you wanted to modify) or the console header in the GUI (which now seems to be your concern.) On my Mac under OSX it returns "AQUA", and nothing ever gets displayed with that name. If I change to a virtual WinXP session, it will then return "RGui". – DWin Jun 3 '11 at 23:40
setWindowTitle(title='R 2.13.0', suffix='') – Qbik Jun 4 '11 at 14:25
up vote 0 down vote accepted

And more interesting thing :

for(i in 1:1000) {
     setWindowTitle(title=paste(i), suffix='')

which gives number of iteration in taskbar, that doesn't work at RStudio, unfortunately parameter of Sys.sleep() must be quite big, so it's useful only for loops with long time of execution of each iteration

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .