Hi John,

I had struggled with this myself, and investigation revealed that it isn't
an R problem, but an X11 bug in Ubuntu. This is evident from plot(rnorm(10))
failing to perform. If you are seeing this, then it is because X11 does not
automatically detect Intel graphic cards. The solution is to edit your
xorg.conf file, changing it to something like (this is from my xorg.conf):

Section "Device"
    Identifier    "Intel Corporation Mobile 945GM/GMS, 943/940GML Express
Integrated Graphics Controller (rev 03)"
    Driver        "intel"
EndSection

Make sure you keep a copy of the original xorg.conf file while you're
experimenting.

Does this work for you? We can dig in deeper once we've identified where the
problem is.

2008/11/15 Erik Iverson <iverson@biostat.wisc.edu>

> John -
>
> john polo wrote:
>
>> Erik Iverson wrote:
>>
>>> You should begin by telling us what you did to produce the result. That
>>> way we can tell if it's something in your R commands or not.  If
>>> you give us step by step instructions to reproduce the problem (with
>>> simulated data, or a dataset distributed with R), it becomes much
>>> easier to debug.
>>>
>> sorry. most of these commands are lifted straight from The Guide i
>> referred to:
>>
>>> data(trees)       # built-in data set
>>> attach(trees)
>>> plot(Height,Volume)
>>>
>>
>> and then the Graphics Device opens and i have the same problem with
>> viewing the plot.
>>
>>
> OK, this looks fine from my end. The first thing I would do is to start R
> without loading any config scripts or data files.
>
> You can do this by starting R with the 'vanilla' option, that is,
>
> R --vanilla
>
> from the command prompt.  Then repeat your commands.  See if anything
> changes.  If it does change, do you have a file called .RData somewhere in
> your home directory? Try renaming or deleting it.  You haven't yet said what
> OS you're using either.
>
> That would be my first step.
>
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

