[R] Deploying code as exe
Jan van der Laan
rhelp at eoos.dds.nl
Fri Nov 12 11:42:01 CET 2010
On 11/12/2010 09:23 AM, Santosh Srinivas wrote:
> Dear Group,
>
> Is there some way for me to package a few lines of R-code as exe and have it
> running in the background? (unable to find info in the archives)
>
> Even better if I can package it as an installation and send to my team who
> do not have any background in programming / R? If they can install and run
> the exe ... it would suffice.
>
> Thanks,
> S
>
> ______________________________________________
> 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.
You could also create a .BAT file (assuming you're working under
windows), where you execute your script using Rscript. You team will
still need to install R.
What also might work when your team is working on one network: Install R
on a network drive. In your .BAT file you can then set up the machine
for R (e.g. add the R binary directory to your path and tell R where to
find the libraries). You will have to check the R Administration manual
for the exact details. You will then only have to send your team the
.BAT file and the R-script (which could also be on the network drive).
HTH
Jan
More information about the R-help
mailing list