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
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,
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
;
>
> Peter Alspach
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of mysimbaa
>> Sent: Thursday, 15 November 2007 6:10 a.m.
>> To: r-help@r-project.org
>> Subject: [R] executable script
>>
>>
007 6:10 a.m.
> To: r-help@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 transfor
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 mess
6 matches
Mail list logo