[R] Opening Rgui by double-clicking R script

From: Sundar Dorai-Raj <sundar.dorai-raj_at_pdf.com>
Date: Fri, 01 Jun 2007 13:54:46 -0700


Hi, all,

This is for R-2.5.0 on WinXP and in particular RGui.

I'm trying to teach some colleagues of mine R and rather than impose Xemacs/ESS upon them I decided to simply start by showing them RGui. When R is installed, R workspaces (.RData) are automatically registered so that I can double-click on them in Explorer RGui opens with the correct working directory. However, I cannot figure a way to do the same for R scripts. In other words, I want to double-click on a .R file in Explorer, have RGui open, set the working directory to the location of where the script is saved, and load the script into the script editor. Is this possible?

Thanks,

--sundar



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 01 Jun 2007 - 20:58:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Jun 2007 - 21:32:09 GMT.

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