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 <pdalgd@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 <jrkrideau@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@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.mes@cbs.dk  Priv: PDalgd@gmail.com
>
>

	[[alternative HTML version deleted]]

