[R] Running script with double-click

Matt Asher status at quo.org
Fri Mar 5 00:43:04 CET 2010


Hi,

I need to be able to run an R script by double-clicking the file name in 
Windows. I've tried associating the .r extension with the different R 
.exe's in /bin but none seems to work. Some open R then close right 
away, and Rgui.exe gives the message ARGUMENT "/my/file.r" __ignored__ 
before opening a new, blank session.

I've tried Google and looking in the R for Windows FAQ but didn't see 
anything.

Thanks.



More information about the R-help mailing list