On Wed, Jun 8, 2011 at 12:56 PM, amrita gs <ammasamri...@gmail.com> wrote:
> How can we create HTML forms in R????

 HTML is Just Plain Text, so you can create them using R's text output
'cat' function. E.g.

cat('<form> First name: <input type="text" name="firstname" /><br
/>Last name: <input type="text" name="lastname" /></form>',
file="test.html")

 and job done. Open test.html in your web browser and there it is.

 Other packages may help you construct these things - search CRAN for
html, and also 'brewer' which is a handy package for making templates
which you can render into HTML.

 But to be honest, your question is way too general as stated to get a
decent response here.

Barry

______________________________________________
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.

Reply via email to