[R] saving to docx
David Winsemius
dwinsemius at comcast.net
Sat Oct 20 00:19:09 CEST 2012
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
More information about the R-help
mailing list