[R] Deploying code as exe

Duncan Murdoch murdoch.duncan at gmail.com
Fri Nov 12 11:11:14 CET 2010


On 12/11/2010 3: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.

You can call R functions from your own C program (see Writing R 
Extensions), but packaging everything into a single file would not be 
easy.   So basically your team will need to install a copy of R, and 
then you might as well send them scripts written in R, rather than 
writing a whole new front end.

Duncan Murdoch



More information about the R-help mailing list