Skip to content
Back to formatted view

Raw Message

Message-ID: <ED2B825C-910A-441C-9568-08F544589AB4@comcast.net>
Date: 2012-10-19T22:19:09Z
From: David Winsemius
Subject: saving to docx
In-Reply-To: <CAPvvxJVo08EakqYbdTV+FvMzRUDJA7d7w6gkAsZ2YsGnTyNYoA@mail.gmail.com>

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