Re: [R] Odd graphic device behavior
On Mar 28, 2013, at 22:27 , Thomas Adams wrote: All, Well to my relief and embarrassment, I discovered my problem. About 5 weeks ago, I shutdown my computer and moved it. When I reconnected everything I apparently plugged my HDMI monitor into the 'wrong' output port without realizing it. So, on a whim, just now, I made the switch to the other port and presto changeo -- problem solved!! The odd thing was, besides my R graphics device window problems, everything else was fine... Out of curiosity, can anyone explain this? My best guess is that the pixel resolution was taken from the disconnected primary display and set to some safe standard value like 640x480, miscalculating the dimensions of your display, so that it ended up with huge virtual inches. The reason everything else didn't notice could be that they work in pixel units rather than physical units. (There seems to be no really perfect solution to the problem of setting default dimensions: Pixel count gives stamp-sized graphs on hi-res displays, physical dimensions are meaningless on projectors and not really what you want on a tiny screen, and percent of display area is undue imperialism if you have a large monitor, intending to overlook many windows at once.) Thanks for all the help... Tom On Thu, Mar 28, 2013 at 4:06 PM, Thomas Adams tea...@gmail.com wrote: Luca, Thank you for the suggestion; I do have an Nvidia graphics card and I am using the Nvida driver; still searching for a solution, quite odd... Tom On Thu, Mar 28, 2013 at 12:28 PM, Luca Nanetti luca.nane...@gmail.comwrote: Thomas, any chance that you could have problems with your graphic driver? For instance, if you have an Nvidia graphic card, I would recommend switching from the 'nouveau' driver to the official Nvidia one. Kind regards, luca [[alternative HTML version deleted]] __ R-help@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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@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.
Re: [R] Odd graphic device behavior
Thank you Peter, that sounds pretty reasonable. Best, Tom On Friday, March 29, 2013, peter dalgaard wrote: On Mar 28, 2013, at 22:27 , Thomas Adams wrote: All, Well to my relief and embarrassment, I discovered my problem. About 5 weeks ago, I shutdown my computer and moved it. When I reconnected everything I apparently plugged my HDMI monitor into the 'wrong' output port without realizing it. So, on a whim, just now, I made the switch to the other port and presto changeo -- problem solved!! The odd thing was, besides my R graphics device window problems, everything else was fine... Out of curiosity, can anyone explain this? My best guess is that the pixel resolution was taken from the disconnected primary display and set to some safe standard value like 640x480, miscalculating the dimensions of your display, so that it ended up with huge virtual inches. The reason everything else didn't notice could be that they work in pixel units rather than physical units. (There seems to be no really perfect solution to the problem of setting default dimensions: Pixel count gives stamp-sized graphs on hi-res displays, physical dimensions are meaningless on projectors and not really what you want on a tiny screen, and percent of display area is undue imperialism if you have a large monitor, intending to overlook many windows at once.) Thanks for all the help... Tom On Thu, Mar 28, 2013 at 4:06 PM, Thomas Adams tea...@gmail.comjavascript:; wrote: Luca, Thank you for the suggestion; I do have an Nvidia graphics card and I am using the Nvida driver; still searching for a solution, quite odd... Tom On Thu, Mar 28, 2013 at 12:28 PM, Luca Nanetti luca.nane...@gmail.comjavascript:; wrote: Thomas, any chance that you could have problems with your graphic driver? For instance, if you have an Nvidia graphic card, I would recommend switching from the 'nouveau' driver to the official Nvidia one. Kind regards, luca [[alternative HTML version deleted]] __ R-help@r-project.org javascript:; 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk javascript:; Priv: pda...@gmail.com javascript:; -- Thomas E Adams, III 718 McBurney Drive Lebanon, OH 45036 1 (513) 739-9512 (cell) [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Odd graphic device behavior
Thomas, any chance that you could have problems with your graphic driver? For instance, if you have an Nvidia graphic card, I would recommend switching from the 'nouveau' driver to the official Nvidia one. Kind regards, luca [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Odd graphic device behavior
Luca, Thank you for the suggestion; I do have an Nvidia graphics card and I am using the Nvida driver; still searching for a solution, quite odd... Tom On Thu, Mar 28, 2013 at 12:28 PM, Luca Nanetti luca.nane...@gmail.comwrote: Thomas, any chance that you could have problems with your graphic driver? For instance, if you have an Nvidia graphic card, I would recommend switching from the 'nouveau' driver to the official Nvidia one. Kind regards, luca [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Odd graphic device behavior
All, Well to my relief and embarrassment, I discovered my problem. About 5 weeks ago, I shutdown my computer and moved it. When I reconnected everything I apparently plugged my HDMI monitor into the 'wrong' output port without realizing it. So, on a whim, just now, I made the switch to the other port and presto changeo -- problem solved!! The odd thing was, besides my R graphics device window problems, everything else was fine... Out of curiosity, can anyone explain this? Thanks for all the help... Tom On Thu, Mar 28, 2013 at 4:06 PM, Thomas Adams tea...@gmail.com wrote: Luca, Thank you for the suggestion; I do have an Nvidia graphics card and I am using the Nvida driver; still searching for a solution, quite odd... Tom On Thu, Mar 28, 2013 at 12:28 PM, Luca Nanetti luca.nane...@gmail.comwrote: Thomas, any chance that you could have problems with your graphic driver? For instance, if you have an Nvidia graphic card, I would recommend switching from the 'nouveau' driver to the official Nvidia one. Kind regards, luca [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Odd graphic device behavior
Any chance that you made an earlier call to par() resetting cex in your session? I just had that happen. John Kane Kingston ON Canada -Original Message- From: tea...@gmail.com Sent: Tue, 26 Mar 2013 10:15:33 -0400 To: r-help@r-project.org Subject: [R] Odd graphic device behavior I'm experiencing odd graphics device behavior running R 2.15.3 on Ubuntu. Regardless of what I try like: require(stats) plot(cars) lines(lowess(cars)) plot(sin, -pi, 2*pi) for example, the graphics device fills the entire screen with the graphic and a very large font. When I shrink the graphics device window, the lettering remains large and the line thicknesses stay quite thick. It may have been some time since I have done any R work on my Ubuntu computer, but clearly this did not happen previously. Does anyone have any thoughts? Thank you, Tom [[alternative HTML version deleted]] __ R-help@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. FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks orcas on your desktop! __ R-help@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.
Re: [R] Odd graphic device behavior
John, Thanks for the suggestion, but no. I have even gone so far as to rebuild R from source, re-booted my computer, and tried the 'experiment': require(stats) plot(cars) immediately after starting R. Still the same result. I think it must be related to some default Ubuntu Unity window manager default I can't sort out. Regards, Tom On Wed, Mar 27, 2013 at 10:14 AM, John Kane jrkrid...@inbox.com wrote: Any chance that you made an earlier call to par() resetting cex in your session? I just had that happen. John Kane Kingston ON Canada -Original Message- From: tea...@gmail.com Sent: Tue, 26 Mar 2013 10:15:33 -0400 To: r-help@r-project.org Subject: [R] Odd graphic device behavior I'm experiencing odd graphics device behavior running R 2.15.3 on Ubuntu. Regardless of what I try like: require(stats) plot(cars) lines(lowess(cars)) plot(sin, -pi, 2*pi) for example, the graphics device fills the entire screen with the graphic and a very large font. When I shrink the graphics device window, the lettering remains large and the line thicknesses stay quite thick. It may have been some time since I have done any R work on my Ubuntu computer, but clearly this did not happen previously. Does anyone have any thoughts? Thank you, Tom [[alternative HTML version deleted]] __ R-help@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. FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Odd graphic device behavior
On Mar 27, 2013, at 9:07 AM, Thomas Adams wrote: John, Thanks for the suggestion, but no. I have even gone so far as to rebuild R from source, re-booted my computer, and tried the 'experiment': require(stats) plot(cars) immediately after starting R. Still the same result. I think it must be related to some default Ubuntu Unity window manager default I can't sort out. Have your deleted the default workspace and history files? When they get corrupted, odd things can happen. Regards, Tom On Wed, Mar 27, 2013 at 10:14 AM, John Kane jrkrid...@inbox.com wrote: Any chance that you made an earlier call to par() resetting cex in your session? I just had that happen. John Kane Kingston ON Canada -Original Message- From: tea...@gmail.com Sent: Tue, 26 Mar 2013 10:15:33 -0400 To: r-help@r-project.org Subject: [R] Odd graphic device behavior I'm experiencing odd graphics device behavior running R 2.15.3 on Ubuntu. Regardless of what I try like: require(stats) plot(cars) lines(lowess(cars)) plot(sin, -pi, 2*pi) for example, the graphics device fills the entire screen with the graphic and a very large font. When I shrink the graphics device window, the lettering remains large and the line thicknesses stay quite thick. It may have been some time since I have done any R work on my Ubuntu computer, but clearly this did not happen previously. Does anyone have any thoughts? Thank you, Tom [[alternative HTML version deleted]] __ R-help@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. FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium [[alternative HTML version deleted]] __ R-help@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 Alameda, CA, USA __ R-help@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.
Re: [R] Odd graphic device behavior
On Mar 27, 2013, at 18:11 , David Winsemius wrote: On Mar 27, 2013, at 9:07 AM, Thomas Adams wrote: John, Thanks for the suggestion, but no. I have even gone so far as to rebuild R from source, re-booted my computer, and tried the 'experiment': require(stats) plot(cars) immediately after starting R. Still the same result. I think it must be related to some default Ubuntu Unity window manager default I can't sort out. Have your deleted the default workspace and history files? When they get corrupted, odd things can happen. ...or try R --vanilla The immediate suspicion is that something is tampering with your graphics device options, so - figure out what device you are using (dev.list()) - if it is X11, have a look at X11.options() - try running X11(width=7, height=7) to see if the automagic settings get it wrong. - try system(xdpyinfo); this may give a long list of gibberish, but look for dimensions and resolution and see if they look sane. E.g., I get screen #0: dimensions:2560x1418 pixels (677x375 millimeters) resolution:96x96 dots per inch Regards, Tom On Wed, Mar 27, 2013 at 10:14 AM, John Kane jrkrid...@inbox.com wrote: Any chance that you made an earlier call to par() resetting cex in your session? I just had that happen. John Kane Kingston ON Canada -Original Message- From: tea...@gmail.com Sent: Tue, 26 Mar 2013 10:15:33 -0400 To: r-help@r-project.org Subject: [R] Odd graphic device behavior I'm experiencing odd graphics device behavior running R 2.15.3 on Ubuntu. Regardless of what I try like: require(stats) plot(cars) lines(lowess(cars)) plot(sin, -pi, 2*pi) for example, the graphics device fills the entire screen with the graphic and a very large font. When I shrink the graphics device window, the lettering remains large and the line thicknesses stay quite thick. It may have been some time since I have done any R work on my Ubuntu computer, but clearly this did not happen previously. Does anyone have any thoughts? Thank you, Tom [[alternative HTML version deleted]] __ R-help@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. FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium [[alternative HTML version deleted]] __ R-help@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 Alameda, CA, USA __ R-help@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. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@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.
Re: [R] Odd graphic device behavior
Peter, Thank you. When I run: X11(width=7, height=7), I get the same full-screen graphics device window. Running dev.list() gives me X11cairo Running system(xdpyinfo) looks reasonable I tried running options(device=x11) at the R prompt, but this did not seem to change anything. When I started R with R --vanilla and then did: require(stats) plot(cars) I got: Error in plot.new() : figure margins too large ... but the window was a reasonable size. However, after I resized the graphics device window modestly and re-ran plot(cars), the plot was generated in the resized window, but the lettering was large as before and the lines were thick as they were previously. Regards, Tom On Wed, Mar 27, 2013 at 1:43 PM, peter dalgaard pda...@gmail.com wrote: On Mar 27, 2013, at 18:11 , David Winsemius wrote: On Mar 27, 2013, at 9:07 AM, Thomas Adams wrote: John, Thanks for the suggestion, but no. I have even gone so far as to rebuild R from source, re-booted my computer, and tried the 'experiment': require(stats) plot(cars) immediately after starting R. Still the same result. I think it must be related to some default Ubuntu Unity window manager default I can't sort out. Have your deleted the default workspace and history files? When they get corrupted, odd things can happen. ...or try R --vanilla The immediate suspicion is that something is tampering with your graphics device options, so - figure out what device you are using (dev.list()) - if it is X11, have a look at X11.options() - try running X11(width=7, height=7) to see if the automagic settings get it wrong. - try system(xdpyinfo); this may give a long list of gibberish, but look for dimensions and resolution and see if they look sane. E.g., I get screen #0: dimensions:2560x1418 pixels (677x375 millimeters) resolution:96x96 dots per inch Regards, Tom On Wed, Mar 27, 2013 at 10:14 AM, John Kane jrkrid...@inbox.com wrote: Any chance that you made an earlier call to par() resetting cex in your session? I just had that happen. John Kane Kingston ON Canada -Original Message- From: tea...@gmail.com Sent: Tue, 26 Mar 2013 10:15:33 -0400 To: r-help@r-project.org Subject: [R] Odd graphic device behavior I'm experiencing odd graphics device behavior running R 2.15.3 on Ubuntu. Regardless of what I try like: require(stats) plot(cars) lines(lowess(cars)) plot(sin, -pi, 2*pi) for example, the graphics device fills the entire screen with the graphic and a very large font. When I shrink the graphics device window, the lettering remains large and the line thicknesses stay quite thick. It may have been some time since I have done any R work on my Ubuntu computer, but clearly this did not happen previously. Does anyone have any thoughts? Thank you, Tom [[alternative HTML version deleted]] __ R-help@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. FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium [[alternative HTML version deleted]] __ R-help@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 Alameda, CA, USA __ R-help@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. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Odd graphic device behavior
On Mar 27, 2013, at 19:26 , Thomas Adams wrote: Peter, Thank you. When I run: X11(width=7, height=7), I get the same full-screen graphics device window. Running dev.list() gives me X11cairo Running system(xdpyinfo) looks reasonable I tried running options(device=x11) at the R prompt, but this did not seem to change anything. And X11.options() said what? When I started R with R --vanilla and then did: require(stats) plot(cars) I got: Error in plot.new() : figure margins too large ... but the window was a reasonable size. However, after I resized the graphics device window modestly and re-ran plot(cars), the plot was generated in the resized window, but the lettering was large as before and the lines were thick as they were previously. Something's clearly up with the device's notion of pointsize. Or inches. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@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.
[R] Odd graphic device behavior
I'm experiencing odd graphics device behavior running R 2.15.3 on Ubuntu. Regardless of what I try like: require(stats) plot(cars) lines(lowess(cars)) plot(sin, -pi, 2*pi) for example, the graphics device fills the entire screen with the graphic and a very large font. When I shrink the graphics device window, the lettering remains large and the line thicknesses stay quite thick. It may have been some time since I have done any R work on my Ubuntu computer, but clearly this did not happen previously. Does anyone have any thoughts? Thank you, Tom [[alternative HTML version deleted]] __ R-help@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.