[R] linking HTML with R

2 views
Skip to first unread message

punitha

unread,
Sep 5, 2012, 5:48:34 AM9/5/12
to r-h...@r-project.org
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-h...@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.

info

unread,
Sep 5, 2012, 10:52:17 AM9/5/12
to punitha, r-h...@r-project.org
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-...@r-project.org [mailto:r-help-...@r-project.org]
Namens punitha
Verzonden: woensdag 5 september 2012 11:49
Aan: r-h...@r-project.org
Onderwerp: [R] linking HTML with R

Hugh Morgan

unread,
Sep 6, 2012, 6:10:39 AM9/6/12
to r-h...@r-project.org
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
This email may have a PROTECTIVE MARKING, for an explanation please see:
http://www.mrc.ac.uk/About/Informationandstandards/Documentmarking/index.htm

punitha

unread,
Sep 6, 2012, 11:38:59 AM9/6/12
to r-h...@r-project.org
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
Reply all
Reply to author
Forward
0 new messages