Hello ,everyone. I am a fresh user of R. I wrote several several R script in R with the version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI. Can anyone tell me how to run the scripts in background without openning R-gui.In another word, run the R-script and get the result via some batch proceesing files or shell scripts directly? Thanks. . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
Gabor Grothendieck
2009-Jul-18 04:04 UTC
[R] how to run the R script in background in Windows XP?
Check out: ?Rscript On Fri, Jul 17, 2009 at 10:14 PM, Jie TANG<totangjie at gmail.com> wrote:> Hello ,everyone. > > ?I am a fresh user of R. I wrote several several R script in ? R with the > version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI. > > ?Can anyone tell me how to run the scripts in background ?without openning > R-gui.In another word, run the R-script and get the result via > > some batch proceesing files or shell scripts directly? > > Thanks. > ?. > > -- > TANG Jie > Email: totangjie at gmail.com > Tel: 0086-2154896104 > Shanghai Typhoon Institute,China > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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. >
Andrej Kastrin
2009-Jul-18 08:00 UTC
[R] how to run the R script in background in Windows XP?
Check out http://akastrin.wordpress.com/2009/06/18/batch-processing-with-r/ HTH, Andrej On Jul 18, 6:04?am, Gabor Grothendieck <ggrothendi... at gmail.com> wrote:> Check out: > > ?Rscript > > > > On Fri, Jul 17, 2009 at 10:14 PM, Jie TANG<totang... at gmail.com> wrote: > > Hello ,everyone. > > > ?I am a fresh user of R. I wrote several several R script in ? R with the > > version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI. > > > ?Can anyone tell me how to run the scripts in background ?without openning > > R-gui.In another word, run the R-script and get the result via > > > some batch proceesing files or shell scripts directly? > > > Thanks. > > ?. > > > -- > > TANG Jie > > Email: totang... at gmail.com > > Tel: 0086-2154896104 > > Shanghai Typhoon Institute,China > > > ? ? ? ?[[alternative HTML version deleted]] > > > ______________________________________________ > > R-h... at r-project.org mailing list > >https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Cedrick Johnson
2009-Jul-18 23:00 UTC
[R] how to run the R script in background in Windows XP?
Jie- This is what I use (contained within a batch file and runs using windows scheduler every day at 4AM): Rscript --verbose MorningStartup.r > morningsummary-log.txt HTH, c -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Jie TANG Sent: Friday, July 17, 2009 10:15 PM To: r-help at r-project.org Subject: [R] how to run the R script in background in Windows XP? Hello ,everyone. I am a fresh user of R. I wrote several several R script in R with the version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI. Can anyone tell me how to run the scripts in background without openning R-gui.In another word, run the R-script and get the result via some batch proceesing files or shell scripts directly? Thanks. . -- TANG Jie Email: totangjie at gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org 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.