An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121019/526f1690/attachment.pl>
saving to docx
5 messages · javad bayat, Gergely Daróczi, David Winsemius +1 more
On Oct 19, 2012, at 12:54 PM, javad bayat wrote:
hi all, how can i saving R output to docx or Jpeg format?
There are some packages with functions to write to Word formats, but the one I know of only runs on Windows, so I have not bothered remembering its name. The sos package offers nice search facilities. For saving to jpeg format: ?Devices
David Winsemius, MD Alameda, CA, USA
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121019/8fabf496/attachment.pl>
On Oct 19, 2012, at 2:48 PM, Dar?czi Gergely wrote:
Hi Javad, saving R output to jpeg depends on what you want to save. For example saving an `lm` object to an image would be fun :) But you could export that quite easily to e.g. docx after installing Pandoc[1] and pander[2] package. You can find some examples in the README[3]. Best, Gergely [1] http://johnmacfarlane.net/pandoc/installing.html [2] http://cran.r-project.org/web/packages/pander/index.html [3a] brew syntax: http://rapporter.github.com/pander/#brew-to-pandoc [3b] in a live R session: http://rapporter.github.com/pander/#live-report-generation
I guess I need to retract my comment that such packages only existed on Windows. Despite 'pander' not passing its CRAN package check for Mac, it does build from source and the Pandoc installer does succeed inSnow Leapard and R 2.15.1. Thank you for writing the pander package, Dar?czi.
On Fri, Oct 19, 2012 at 9:54 PM, javad bayat <j.bayat194 at gmail.com> wrote:
hi all, how can i saving R output to docx or Jpeg format?
David Winsemius, MD Alameda, CA, USA
Just to let people know.... On the Omegahat site (and source on github), there are packages for working with Office Open documents (and LibreOffice too), includinging RWordXML, RExcelXML and the generic package OOXML on which they rely. These are prototypes in the sense that they do not comprehensively cover the entire OOXML specification. Instead, the packages do have functionality for some common things to get data in and out of OO documents, and they have foundation functions for building new features. D.
On 10/19/12 3:19 PM, David Winsemius wrote:
On Oct 19, 2012, at 2:48 PM, Dar?czi Gergely wrote:
Hi Javad, saving R output to jpeg depends on what you want to save. For example saving an `lm` object to an image would be fun :) But you could export that quite easily to e.g. docx after installing Pandoc[1] and pander[2] package. You can find some examples in the README[3]. Best, Gergely [1] http://johnmacfarlane.net/pandoc/installing.html [2] http://cran.r-project.org/web/packages/pander/index.html [3a] brew syntax: http://rapporter.github.com/pander/#brew-to-pandoc [3b] in a live R session: http://rapporter.github.com/pander/#live-report-generation
I guess I need to retract my comment that such packages only existed on Windows. Despite 'pander' not passing its CRAN package check for Mac, it does build from source and the Pandoc installer does succeed inSnow Leapard and R 2.15.1. Thank you for writing the pander package, Dar?czi.
On Fri, Oct 19, 2012 at 9:54 PM, javad bayat <j.bayat194 at gmail.com> wrote:
hi all, how can i saving R output to docx or Jpeg format?