Re: [R] run R script automatically by double-clicking WinXP desktop icon

2009-09-22 Thread cryan
r png files. I should probably play around with the resolution in R's png device. Or maybe it's a function of the viewer I'm stuck using. Thanks. --Chris Original message >Date: Tue, 22 Sep 2009 11:41:50 -0400 >From: Cedrick Johnson >Subject: Re: [R] run R s

Re: [R] run R script automatically by double-clicking WinXP desktop icon

2009-09-22 Thread Cedrick Johnson
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

[R] run R script automatically by double-clicking WinXP desktop icon

2009-09-22 Thread cryan
I've written a simple script that does some surveillance analysis on daily counts of walk-in clinic visits, for our county health department. (Actually, Michael Hohle's surveillance package does all the work; I just customized it a little to work with the way our data are recorded.) The output c