I haven't used it yet, so I can't comment about the stability or 
appropriateness of it, but R.NET looks somewhat promising for this:

http://rdotnet.codeplex.com/

Shiny is another potential way to go.

You could also take a look at David Firth's CGIwithR:  
http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/cgiwithr/.

--Mark J. Lamias




________________________________
 From: Gergely Daróczi <gerg...@snowl.net>
To: jagat.k.sh...@wellsfargo.com 
Cc: r-help@r-project.org; cha...@bio.ntnu.no 
Sent: Thursday, November 29, 2012 11:34 AM
Subject: Re: [R] Can R be embedded in html?

I grab the opportunity to suggest giving a try `pander` package, which
holds a forked version of `brew` called `Pandoc.brew`.
If you are familiar with `brew`, you could easily create nicely formatted
HTML output automatically beside other formats, example:
http://rapporter.github.com/pander/#examples

But if you want to run those files directly, then RApache is the way to go
with `RHandler brew::brew`, although that would end up in a spaghetti code.
It's better to keep R and HTML separately in the long run.

Best,
Gergely

On Thu, Nov 29, 2012 at 4:41 PM, <jagat.k.sh...@wellsfargo.com> wrote:

> Try R package 'brew'? From its package description
>
> Description:        brew implements a templating framework for mixing
>                     text and R code for report generation. brew
>                     template syntax is similar to PHP, Ruby's erb
>                     module, Java Server Pages, and Python's psp module.
>
> There is also the rApache project and many other useful links mentioned on
> R Web Interfaces on the R FAQ page.
>
> Jagat
>
> > -----Original Message-----
> > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> > project.org] On Behalf Of chawla
> > Sent: Wednesday, November 28, 2012 9:04 AM
> > To: r-help@r-project.org
> > Subject: [R] Can R be embedded in html?
> >
> > Hi
> > I have previously used PHP script in HTML to connect website with the
> > database and do analysis.
> > Is it also possible to execute R scripts within HTML files?
> > Basically I want to create an application where user can input data
> > such
> > as gene list and their expression values, which can be processed by R
> > and result be displayed or made available for download.
> > If there is some guide on how to do this please give the link.
> > Thanks
> > Konika
> >
> > ______________________________________________
> > 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.
>
> ______________________________________________
> 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]]

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

______________________________________________
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