Hi, I would like to know whether anybody knows a simple way to combine textual and graphical output in R. A typical analysis produces textual output (e.g. model fits) and plots in R. I would like to know whether R has the possibility of combining these into a single 'report' or output. An example of a program that does this is SPSS. After running the analysis you have a combination of textual output (tables) and plots that are easy to print and distribute. I know of the possibility to embed R code into LATEX (using Sweave), but I wouldn't call this quick since a lot of coding will go into writing the Sweave file. Any other suggestions? Regards, Dieter
Hi try to look at R2HTML package, it can produce report like output. Petr petr.pikal at precheza.cz r-help-bounces at stat.math.ethz.ch napsal dne 02.07.2007 11:08:46:> Hi, > > I would like to know whether anybody knows a simple way to combine > textual and graphical output in R. > > A typical analysis produces textual output (e.g. model fits) and plots > in R. I would like to know whether R has the possibility of combining > these into a single 'report' or output. An example of a program that > does this is SPSS. After running the analysis you have a combination of > textual output (tables) and plots that are easy to print and distribute. > > I know of the possibility to embed R code into LATEX (using Sweave), but> I wouldn't call this quick since a lot of coding will go into writing > the Sweave file. > > Any other suggestions? > > Regards, > Dieter > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
Hello Dieter, aside of Petr's suggestion, you might want to look at the 'relax' package. Here, you can produce html as well as tex for on-the-fly reports. The reports are set up within a tcl/tk window. Best, Bernhard> >Hi, > >I would like to know whether anybody knows a simple way to combine >textual and graphical output in R. > >A typical analysis produces textual output (e.g. model fits) and plots >in R. I would like to know whether R has the possibility of combining >these into a single 'report' or output. An example of a program that >does this is SPSS. After running the analysis you have a >combination of >textual output (tables) and plots that are easy to print and >distribute. > >I know of the possibility to embed R code into LATEX (using >Sweave), but >I wouldn't call this quick since a lot of coding will go into writing >the Sweave file. > >Any other suggestions? > >Regards, >Dieter > >______________________________________________ >R-help at stat.math.ethz.ch 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. >***************************************************************** Confidentiality Note: The information contained in this mess...{{dropped}}
Dieter Vanderelst wrote:> Hi, > > I would like to know whether anybody knows a simple way to combine > textual and graphical output in R. > > A typical analysis produces textual output (e.g. model fits) and plots > in R. I would like to know whether R has the possibility of combining > these into a single 'report' or output. An example of a program that > does this is SPSS. After running the analysis you have a combination of > textual output (tables) and plots that are easy to print and distribute. > > I know of the possibility to embed R code into LATEX (using Sweave), but > I wouldn't call this quick since a lot of coding will go into writing > the Sweave file. > > Any other suggestions? >And to further complicate the issue, you could look at the htmlize and R2html in the prettyR package, which allows you to run an R script and produce HTML output. Jim
The R2HTML package can be used to create and html transcript of your session (you do need to start, end, and tell it to include graphs). I use this when doing an R demonstration (teaching), so that the students can have a transcript that shows the commands I typed along with their output (including the graphs). Another approach is the odfWeave package. This is similar to sweave, except that you use openoffice writer (can read MSWord docs) to set up the text and set of commands (less overhead/startup than LaTeX). Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at intermountainmail.org (801) 408-8111> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dieter > Vanderelst > Sent: Monday, July 02, 2007 3:09 AM > To: r-help at stat.math.ethz.ch > Subject: [R] Combine graphical and textual output > > Hi, > > I would like to know whether anybody knows a simple way to > combine textual and graphical output in R. > > A typical analysis produces textual output (e.g. model fits) > and plots in R. I would like to know whether R has the > possibility of combining these into a single 'report' or > output. An example of a program that does this is SPSS. After > running the analysis you have a combination of textual output > (tables) and plots that are easy to print and distribute. > > I know of the possibility to embed R code into LATEX (using > Sweave), but I wouldn't call this quick since a lot of coding > will go into writing the Sweave file. > > Any other suggestions? > > Regards, > Dieter > > ______________________________________________ > R-help at stat.math.ethz.ch 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. >