Skip to content
Back to formatted view

Raw Message

Message-ID: <CANROs4dQ1DN_JFJr4fmvuNw0v0Rm5VLFUxiotjzFmHHgiqOyWQ@mail.gmail.com>
Date: 2012-05-25T22:36:20Z
From: Yihui Xie
Subject: sweave tables as images?
In-Reply-To: <4FBFF6B1.5080302@ufl.edu>

The hook function hook_pdfcrop() also works on PNG images, although
the function name is somehow misleading. The requirement is that you
have ImageMagick installed and the command 'convert' is in your PATH.
It is a contribution from @r2d3
https://github.com/yihui/knitr/issues/209#issuecomment-5266580

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA


On Fri, May 25, 2012 at 4:16 PM, Alexander Shenkin <ashenkin at ufl.edu> wrote:
> Thanks Yihui,
>
> That's a great idea, and comes close to the mark, except that I have to
> use png's in order to "Insert & Link" them as pictures in Word (and
> hence make the doc both shareable and update when new figures are
> generated).
>
> thanks,
> allie