[R] executable script

Peter Alspach PAlspach at hortresearch.co.nz
Wed Nov 14 20:37:40 CET 2007


Kia ora unknown requestor

One option is to create a .bat file along the following lines:

path_to_R\bin\R CMD BATCH yourScript.R


Peter Alspach


> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of mysimbaa
> Sent: Thursday, 15 November 2007 6:10 a.m.
> To: r-help at r-project.org
> Subject: [R] executable script
> 
> 
> Dear All,
> 
> Apologies for this simple question and thanks in advance for 
> any help given.
> 
> I want to make from my .R script an .exe file.
> 
> Is there any way to transfort my script to an autolaunch file?
> It means it runs the script by double clicking on it.
> 
> p.s.: I'm using windows
> --
> View this message in context: 
> http://www.nabble.com/executable-script-tf4806651.html#a13751752
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.
> 



More information about the R-help mailing list