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
______________________________________________
R-help@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.