hi, I am said to create a small form in html and after i click the submit button it should execute R function and move to next page of html.... can I know how can it be done??? can we link R and HTML??? which packages will help me in doing this??? are there any examples similar to this online??? Thanks in advance.... with regards, C. Punitha ----- Thank you, with regards, Punitha -- View this message in context: http://r.789695.n4.nabble.com/linking-HTML-with-R-tp4642276.html Sent from the R help mailing list archive at Nabble.com.
Hi, I think the simplest way to do this is using a small piece of php code. See http://stats.stackexchange.com/questions/4279/how-can-i-integrate-r-with-php There are several webpages about this topic, but all of them are very ancient. I have the plan to write a text about this Greetz Frans www.digipsy.nl -----Oorspronkelijk bericht----- Van: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Namens punitha Verzonden: woensdag 5 september 2012 11:49 Aan: r-help at r-project.org Onderwerp: [R] linking HTML with R hi, I am said to create a small form in html and after i click the submit button it should execute R function and move to next page of html.... can I know how can it be done??? can we link R and HTML??? which packages will help me in doing this??? are there any examples similar to this online??? Thanks in advance.... with regards, C. Punitha ----- Thank you, with regards, Punitha -- View this message in context: http://r.789695.n4.nabble.com/linking-HTML-with-R-tp4642276.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.
Hi, There are many ways to do this. As well as the php way mentioned by Franz, you could use cgi. This would probably be considered the traditional way of doing it. As we are java web developers we are aiming to use Rserve (http://www.rforge.net/Rserve/) and tomcat (this can also interact with php and C). It probably depends on how you are set up to serve the rest of your site. Cheers, Hugh On 09/05/2012 10:48 AM, punitha wrote:> hi, > > I am said to create a small form in html and after i click the submit > button it should execute R function and move to next page of html.... > > can I know how can it be done??? > can we link R and HTML??? > which packages will help me in doing this??? > are there any examples similar to this online??? > > Thanks in advance.... > > > with regards, > C. Punitha > > > > ----- > Thank you, > > with regards, > Punitha > -- > View this message in context: http://r.789695.n4.nabble.com/linking-HTML-with-R-tp4642276.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.This email may have a PROTECTIVE MARKING, for an explanation please see: http://www.mrc.ac.uk/About/Informationandstandards/Documentmarking/index.htm
thank you very much, I will be expecting your book soon. ----- Thank you, with regards, Punitha -- View this message in context: http://r.789695.n4.nabble.com/linking-HTML-with-R-tp4642276p4642379.html Sent from the R help mailing list archive at Nabble.com.