Skip to content
Prev 156382 / 398506 Next

unix-type commandline keystrokes in the windows RGUI

Well, I don't see why you need the CTRL-R functionality when you can 
just as rapidly and efficiently using SEARCH functionality  in scripts 
too (CTRL-F in most applications, CTRL-S in emacs etc).

BTW, I am quite familiar with Unix, Linux and Sun Solaris and what 
CTRL-R does (yes, I used it frequently). Which is why I am able to tell 
you that CTRL-R will pull up all matching commands - even commands that 
had failed! At least in a script environment, you tend to correct failed 
commands. So you know when you search scripts, it will likely be the 
correct command.

To summarize my view, I feel that CTRL-R is appropriate for shell 
operations where one codes on the fly while using a search functionality 
and scripting is appropriate for a scientific programming software.


Anyway, here is how to do what you want:

1) Install bash on your Windows machine - You can use cgywin. Or 
download and unzip http://www.steve.org.uk/Software/bash/

2) Make the directory to bash.exe and R.exe are in your PATH variable.

3) Start -> Run -> cmd

4) Start R.exe

and now you should have your CTRL-R functionality (along with ls and 
other bash goodies). Yes, I know you asked about Rgui.exe and not R.exe. 
But this is the best I can do.

By all means go bother the R developers (most of whom I suspect are on 
the mailing list). I will be interested in what they say.

Regards, Adai
mfrumin wrote: