[ESS] Graphics in emacs window: how to copy R screen devices in non-interactive sessions (remotes)

Yihui Xie xie at yihui.name
Tue Nov 19 02:42:55 CET 2013


You can use pdf(NULL), which is what I use knitr as the recording
device; it is an off-screen device, and does not produce a file.

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


On Mon, Nov 18, 2013 at 6:19 PM, Michael Lawrence
<lawrence.michael at gene.com> wrote:
> Funny how there does not seem to be a dummy device that just records the
> display list. You either need to have a screen device or plot to a
> temporary file. The gridSVG package will let you capture textual SVG, I
> think without touching a file. But that's only for grid, and then you have
> the problem of rendering the SVG ;) Deepayan's Qt device can capture any
> kind of graphics in any format, but that requires Qt. Too bad the file
> devices do not support connections... would make capturing png easy.
>



More information about the ESS-help mailing list