Re: [R] executable script

2010-06-14 Thread skan
Maybe he wants to compile it to an exe file in order to make it faster. -- View this message in context: http://r.789695.n4.nabble.com/executable-script-tp839859p2255307.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project

Re: [R] executable script

2010-06-14 Thread Cliff Clive
True, but all he said was that he wanted to auto-launch his program by double-clicking it. I don't know of any ways to speed up R other than to write the slower functions in C and then call them in your R programs. But I'm not sure that's what he had in mind. On Mon, Jun 14, 2010 at 9:19 PM,

Re: [R] executable script

2010-06-14 Thread Cliff Clive
In Python, it is literally this easy: import rpy2.robjects as robjects robjects.r(""" source("C:/YOUR R FILE GOES HERE ") """) Type the name of your R source code into this script and save it as a Python script (add the suffix .py), and then you can run by double-clicking. If

Re: [R] executable script

2008-03-20 Thread mysimbaa
Can you please give me some additional informations. I never created a .bat I have no experience. Peter Alspach wrote: > > 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 > > >> ---

Re: [R] executable script

2007-11-14 Thread Peter Alspach
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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of mysimbaa > Sent: Thursday, 15 November 2007 6:10 a.m.