[R] Odd graphic device behavior
peter dalgaard
pdalgd at gmail.com
Wed Mar 27 18:43:10 CET 2013
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 <jrkrideau at 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: tea3rd at gmail.com
>>>> Sent: Tue, 26 Mar 2013 10:15:33 -0400
>>>> To: r-help at 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 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.
>>>
>>> ____________________________________________________________
>>> 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 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
> Alameda, CA, USA
>
> ______________________________________________
> 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.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help
mailing list