I don't know if it's "civilized" enough for you, but running R from  
the x11 command line will allow you to open an x11() device without a  
problem.


Kyle H. Ambert
Graduate Student, Dept. Behavioral Neuroscience
Oregon Health & Science University
ambertk@ohsu.edu


On May 20, 2007, at 11:14 PM, Rolf Turner wrote:

>
>
> I am (desperately) trying to get used to using a Mac here at my new
> location. (Why *anyone* would ever use anything other than Linux,  
> except
> under duress as I am, totally escapes me, but that's another story.)
>
> Fortunately much of the Mac OSX is actually Unix, so a civilized  
> person can
> manage to carry on ... But there are some things.  (Like this  
> <expletive
> deleted> mailer ... But that's another story.)
>
> When I ``open'' R using the icon on the ``dock'' several things are
> unsatisfactory; like I can't clear the screen using system 
> ("clear"), nor can
> I use vi syntax in command line editing.  When I start R from the  
> command
> line (as a civilized person would do) these unsatisfactory  
> circumstances go
> away, but then a new one rears its ugly head:  I can't plot!!!  If  
> I try a
> plot without explicitly opening a plotting device, a postscript  
> device with
> file name ``Rplots.ps'' is silently opened.  If I try opening a  
> device with
> quartz() to get an on-screen plot, I get a warning message
>
> quartz() device interactivity reduced without an event loop manager  
> in:
> quartz()
>
> And a little coloured wheel spins round and round and the quartz()  
> window
> that opens hides underneath the terminal window and appears to be  
> frozen to
> the spot.
>
> Apparently ``it'' wants .Platform$GUI to be equal to "AQUA", but it is
> (under the circumstances) "X11".
>
> Trying to open a device using x11() simply results in an error.
>
> Is there any way to get a working on-screen graphics window under  
> these
> circumstances?
>
> I am very much hand-cuffed by the officious ITS policies here as to  
> what
> I can install on my Mac.  (Effectively, nothing.)
>
>                                 ``cheers'' (Hah!),
>
>                                         Rolf Turner
>                                         r.turner@auckland.ac.nz
>
>
> ######################################################################
> Attention:
> This e-mail message is privileged and confidential. If you are not the
> intended recipient please delete the message and notify the sender.
> Any views or opinions presented are solely those of the author.
>
> This e-mail has been scanned and cleared by MailMarshal
> www.marshalsoftware.com
> ######################################################################
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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]]

