I am looking for a way to double-click on file name in Windows Explorer directory (XP) that will open the R GUI and display the script (but not run it). In other works I want R to work in a similar way to opening a PDF (or pretty much every other program) from the Windows Explorer directory.
I have tried to find the appropriate .exe from Right Click -> Open With -> Choose Program route but to no avail. I have also tried moving the R icon from my Start | All Programs to the C:\Documents and Settings..\SendTo to allow me to select R from Right Click -> Send To -> R. This also failed.
Unless you have a compelling reason to use the default R editor, I recommend using one of the third party text editors for R. Lots of good details here: Recommendations for Windows text editor for R
I’ll give a personal recommendation to the new kid on the block, R-studio: http://www.rstudio.org/