[R] capturing a figure to PDF or Image
dwinsemius at comcast.net
Mon Sep 5 17:58:35 CEST 2011
On Sep 5, 2011, at 11:14 AM, Eran Eidinger wrote:
> Sorry guys, just removed, the "at" prameters. The warnings are gone
> now, but
> I still get an empty image, no matter which function i use (pdf, jpeg,
> Any clue?
The most common error is failing to call dev.off() after the plotting
is done. The second most common is to not read the FAQ regarding why
lattice and ggplot2 plotting functions don't plot.
> On Mon, Sep 5, 2011 at 6:09 PM, Eran Eidinger <eran at taykey.com> wrote:
>> I've been using jpeg(), bmp() and pdf() to capture plots.
>> I've used the parameter "at" in a plot, to define the tickmarks.
>> It works fine on screen, but when I try to print it to a file, it
>> gives a
>> "at" is not a graphical parameter
>> and prints an empty figure. Can you help?
> Eran Eidinger | Taykey Ltd | +972-54-5908077 | www.taykey.com
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help