Skip to content
Prev 194415 / 398500 Next

run R script automatically by double-clicking WinXP desktop icon

Here's something I use (in a batch file):

Rterm --no-restore --file=EveningStartup.r


Change EveningStartup.r to your particular file. When you create the 
shortcut, make sure to set the working directory to where your R script 
is located. Then in your file, you could have the graphs write out to a 
png file in a specified directory.

hth
c
cryan at binghamton.edu wrote: