[R] Windows Shell: R Gui Here

Dieter Menne dieter.menne at menne-biomed.de
Thu Jan 14 12:28:32 CET 2010


Some years ago I published the reg string here to start RGui in a selected
Windows directory via right key click without keeping a cmd window open.
That string no longer works in Vista/Windows 7. Below is the alternative. It
assumes that rgui is on your path, or that you have Gabor's rbatch installed
and on you path.

http://batchfiles.googlecode.com

If you must use an explicit path to RGui, use the short path name, or find
out how to escape double quotes in registry/shell. (\ or \\ or """ does not
work).

Dieter


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\RGui]
@="R Gui here"

[HKEY_CLASSES_ROOT\Folder\shell\RGui\command]
@="cmd.exe /c \"pushd %L &&start rgui --no-restore --no-save\""


-- 
View this message in context: http://n4.nabble.com/Windows-Shell-R-Gui-Here-tp1013783p1013783.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list