Re: [R] output from R to simple html
Hi Marc, The "htmlize" function in the prettyR package might be what you are looking for. Jim On Thu, Jul 9, 2020 at 5:02 AM Marc Roos wrote: > > > > I would like to parse some input to an R script and use its result > output (maybe in json) on a web page. I think this shiny framework is a > bit over kill. What is the simplest to implement this? > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 -- To UNSUBSCRIBE and more, see 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.
Re: [R] output from R to simple html
Perhaps an answer as simple as using the rmarkdown package to generate a standalone html file is all the OP needs? On July 8, 2020 4:19:37 PM PDT, Michael Hannon wrote: >I can't tell what kind of structure you want to output, but one simple >thing that I've done along these lines is to use knitr::kable to >output a dataframe in either HTML or LaTeX format (for direct >inclusion on a web page or to convert to PDF for other uses). > >-- Mike > >On Wed, Jul 8, 2020 at 12:02 PM Marc Roos >wrote: >> >> >> >> I would like to parse some input to an R script and use its result >> output (maybe in json) on a web page. I think this shiny framework is >a >> bit over kill. What is the simplest to implement this? >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> 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 -- To UNSUBSCRIBE and more, see >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. -- Sent from my phone. Please excuse my brevity. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
Re: [R] output from R to simple html
I can't tell what kind of structure you want to output, but one simple thing that I've done along these lines is to use knitr::kable to output a dataframe in either HTML or LaTeX format (for direct inclusion on a web page or to convert to PDF for other uses). -- Mike On Wed, Jul 8, 2020 at 12:02 PM Marc Roos wrote: > > > > I would like to parse some input to an R script and use its result > output (maybe in json) on a web page. I think this shiny framework is a > bit over kill. What is the simplest to implement this? > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 -- To UNSUBSCRIBE and more, see 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.
Re: [R] output from R to simple html
This might be helpful: https://cran.r-project.org/web/views/WebTechnologies.html Cheers, Bert On Wed, Jul 8, 2020 at 12:02 PM Marc Roos wrote: > > > I would like to parse some input to an R script and use its result > output (maybe in json) on a web page. I think this shiny framework is a > bit over kill. What is the simplest to implement this? > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 -- To UNSUBSCRIBE and more, see 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.