I have had the same experience when trying to plot. However, you can
get the graph if you set options("quartz") or simply if you run quartz
(). But you get a non-interactive quartz window. I am not sure how to
set the default options to get the quartz device by default. I wonder
how the R.app (GUI) does it? Can someone point us to some of the docs
that may describe the procedure?
thanks,
H
Today's Topics:
1. Plot from Emacs/Ess... (Alberto Santini)
2. Re: Plot from Emacs/Ess... (Simon Urbanek)
----------------------------------------------------------------------
Message: 1
Date: Sat, 11 Feb 2006 15:34:28 +0100
From: Alberto Santini <[EMAIL PROTECTED]>
Subject: [R-SIG-Mac] Plot from Emacs/Ess...
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Hello.
I'm using R 2.2.1 from Emacs and ESS.
It works fine, but when I try to plot something, nothing happens;
I see again the R prompt and a file .ps is created in the working
directory.
Of course in R-GUI plot is ok.
I don't use X11. I use Aqua plot.
Any idea?
Thanks in advance,
Alberto Santini
------------------------------
Message: 2
Date: Sat, 11 Feb 2006 16:51:35 -0500
From: Simon Urbanek <[EMAIL PROTECTED]>
Subject: Re: [R-SIG-Mac] Plot from Emacs/Ess...
To: Alberto Santini <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Alberto,
On Feb 11, 2006, at 9:34 AM, Alberto Santini wrote:
> I'm using R 2.2.1 from Emacs and ESS.
> It works fine, but when I try to plot something, nothing happens; I
> see again the R prompt and a file .ps is created in the working
> directory.
>
This is the expected behavior - you are not using X11, so the default
device is the PostScript device.
> Of course in R-GUI plot is ok.
>
> I don't use X11. I use Aqua plot.
>
What is "Aqua plot"? I fear you don't have much of a choice - if I
recall correctly X11 is the only stock interactive device that works
in ESS. Jan de Leeuw posed some hints as of how you can try patch R
to get Quartz to respond in some circumstances, but I don't know if
that works with your Emacs (there are many variations of Emacs for OS
X) - you may want to have a look at the archives.
Cheers,
Simon
------------------------------
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
End of R-SIG-Mac Digest, Vol 36, Issue 9
****************************************
--
Horacio Samaniego
Dept. Biology
University of New Mexico
Albuquerque 87106, NM
http://www.unm.edu/~horacio
--
Horacio Samaniego
Dept. Biology
University of New Mexico
Albuquerque 87106, NM
http://www.unm.edu/~horacio
--
Horacio Samaniego
Dept. Biology
University of New Mexico
Albuquerque 87106, NM
http://www.unm.edu/~horacio
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac