[R] X11 plot window doesn't show graphic immediately

Ista Zahn istazahn at gmail.com
Sun Jan 13 02:26:14 CET 2013


Hi Alexander,

Try changing your type, e.g.,  X11.options(type="nbcairo"). See ?X11
for details, and
http://stackoverflow.com/questions/13235100/empty-plot-in-r for
reference.

Best,
Ista

On Sat, Jan 12, 2013 at 1:04 PM, Alexander Engelhardt
<alex at chaotic-neutral.de> wrote:
> Hi r-help,
>
> I have a weird problem. When I plot anything, say plot(1:10), a plot window
> opens but it's empty. It looks just like this:
>
> http://i.imgur.com/9uqO6.png
>
> I have to resize the window, either by clicking the fullscreen icon on the
> menu bar, or by dragging the borders. Then the plot is shown, but strangely
> in the original size of the window, where it was before the resize:
>
> http://i.imgur.com/tXcop.png
>
> Then, when I resize to shrink the window back, the plot is shown too big,
> how it would have fit in the previously resized window:
>
> http://i.imgur.com/mBUo7.png
>
> So it seems like the windows displays everything with a resize lag of 1,
> i.e. according to the previous resize. Erm...
>
> Some possibly helpful info:
> - I am on Arch Linux
> - R version 2.15.2
> - It happens on two different computers (both Arch Linux)
> - It happens when starting R from the console or from within Emacs
> - plotting to a pdf("some.pdf") works fine
>
> I have no idea where to search for the cause of that. Did anyone encounter
> this or have any idea where this might come from? Pointers to where to look
> for the cause are welcome too.
>
> Thanks in advance,
>  Alex
>
> ______________________________________________
> 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.




More information about the R-help mailing list