Alexander Engelhardt
2013-Jan-12 18:04 UTC
[R] X11 plot window doesn't show graphic immediately
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
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.
Milan Bouchet-Valat
2013-Jan-13 11:27 UTC
[R] X11 plot window doesn't show graphic immediately
Le samedi 12 janvier 2013 ? 19:04 +0100, Alexander Engelhardt a ?crit :> 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.For reference, this is https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15168 Regards
Reasonably Related Threads
- How to correct set permissions only for a group users access the share folder
- How to correct set permissions only for a group users access the share folder
- you have been logged on with a temporary profile_win7 client+samba 4+WinServ2012
- How to correct set permissions only for a group users access the share folder
- 7.2 kernel panic on boot