R 2.7.0, WinXP Hi list, I have written some code in R that I would like to share with others who are not R-users. Is there a way to compile the code so it will run outside of R? The best thing would be a functionality to compile the code into a ".exe" file that does not require the user to have R installed or to know how to use R. The persons I would like to make the program available to are unlikely to ever need or use software like R. Is there a functionality that will allow others to use my code without needing R itself? thanks, roger
On 25/06/2008, at 6:01 AM, Roger Leenders wrote:> > R 2.7.0, WinXP > > Hi list, > > I have written some code in R that I would like to share with > others who > are not R-users. Is there a way to compile the code so it will run > outside of R? > The best thing would be a functionality to compile the code into a > ".exe" > file that does not require the user to have R installed or to know > how to > use R. The persons I would like to make the program available to > are unlikely to ever need or use software like R. > > Is there a functionality that will allow others to use my code without > needing R itself?This reminds me of that old Lovin' Spoonful song: ``Do You Believe in Magic?'' cheers, Rolf Turner ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
Roger, Following on to Spencer's comments, we have had some success using RWui http://rwui.cryst.bbk.ac.uk/ to build web enabled versions of (non-interactive) R programs. Advantage is your users only need a browser. No exe to install. Downside is you need to have a web server accessible to your user base. We're using a very simple Tomcat setup within our firewall to provide access to canned R scripts. HTH, Jim Porzak Responsys, Inc. San Francisco, CA http://www.linkedin.com/in/jimporzak On Tue, Jun 24, 2008 at 11:01 AM, Roger Leenders <r.t.a.j.leenders@rug.nl> wrote:> > R 2.7.0, WinXP > > Hi list, > > I have written some code in R that I would like to share with others who > are not R-users. Is there a way to compile the code so it will run > outside of R? > The best thing would be a functionality to compile the code into a ".exe" > file that does not require the user to have R installed or to know how to > use R. The persons I would like to make the program available to are > unlikely to ever need or use software like R. > > Is there a functionality that will allow others to use my code without > needing R itself? > > thanks, roger > > ______________________________________________ > 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. >[[alternative HTML version deleted]]
You can set up a web site and have them use that. Then they just need a browser. See www.rpad.org for one way or develop an internal or external site using any technology you know and call R on the back end. On Tue, Jun 24, 2008 at 2:01 PM, Roger Leenders <r.t.a.j.leenders at rug.nl> wrote:> > R 2.7.0, WinXP > > Hi list, > > I have written some code in R that I would like to share with others who > are not R-users. Is there a way to compile the code so it will run > outside of R? > The best thing would be a functionality to compile the code into a ".exe" > file that does not require the user to have R installed or to know how to > use R. The persons I would like to make the program available to are > unlikely to ever need or use software like R. > > Is there a functionality that will allow others to use my code without > needing R itself? > > thanks, roger > > ______________________________________________ > 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. >
Thanks to all of the responders. It looks like dreams may come true after all :-) The application is as follows. Respondents fill out a questionnaire that has been posted online. Output is in excel or text format. My client (typically working for a government agency that provides subsidies to SME businesses) then needs to send those data through the R code. The code produces all kinds of output: probabilities, tables, several figures, that together should be output in a pdf file. The client typically will neither know about R nor will want to know about the mechanics of the software that produces the output from the data. The best thing would be if the client could press a button on the website, which would then trigger the data processing and produce the report for the client. Alternatively, we could give them software that they could install on their own computers. Rpad or Rwui may just do the trick! thanks, Roger Gabor Grothendieck schreef:> You can set up a web site and have them use that. Then they > just need a browser. > > See www.rpad.org for one way or develop an internal or external site > using any technology you know and call R on the back end. > > On Tue, Jun 24, 2008 at 2:01 PM, Roger Leenders <r.t.a.j.leenders at rug.nl> wrote: > >> R 2.7.0, WinXP >> >> Hi list, >> >> I have written some code in R that I would like to share with others who >> are not R-users. Is there a way to compile the code so it will run >> outside of R? >> The best thing would be a functionality to compile the code into a ".exe" >> file that does not require the user to have R installed or to know how to >> use R. The persons I would like to make the program available to are >> unlikely to ever need or use software like R. >> >> Is there a functionality that will allow others to use my code without >> needing R itself? >> >> thanks, roger >> >> ______________________________________________ >> 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. >> >>