[R] Can R be embedded in html?

Yihui Xie xie at yihui.name
Thu Nov 29 20:21:12 CET 2012


I did not read every reply; perhaps someone has already mentioned
Shiny. There are a few live examples of "embedding R in HTML" here:
http://www.rstudio.com/shiny/

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA


On Thu, Nov 29, 2012 at 10:34 AM, Gergely Daróczi <gergely at snowl.net> wrote:
> 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.Sheth at 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-bounces at r-project.org [mailto:r-help-bounces at r-
>> > project.org] On Behalf Of chawla
>> > Sent: Wednesday, November 28, 2012 9:04 AM
>> > To: r-help at 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




More information about the R-help mailing list