[R] capturing a figure to PDF or Image
David Winsemius
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,
> bmp...)
> 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.
--
David.
>
> Thanks,
> Eran.
>
> On Mon, Sep 5, 2011 at 6:09 PM, Eran Eidinger <eran at taykey.com> wrote:
>
>> Hello,
>>
>> 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
>> warning:
>>
>> "at" is not a graphical parameter
>>
>>
>> and prints an empty figure. Can you help?
>>
>>
>> Thanks,
>>
>> Eran.
>>
>>
>
>
> --
> *
> Eran Eidinger | Taykey Ltd | +972-54-5908077 | www.taykey.com
>
>
> *
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> 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
mailing list