[R] sweave tables as images?
Yihui Xie
xie at yihui.name
Sat May 26 00:36:20 CEST 2012
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
More information about the R-help
mailing list