[R] Embarrassingly naive question regarding graphics on Mac OS X

Ulises Mora Alvarez umalvarez at fata.unam.mx
Sun Jul 4 05:25:27 CEST 2004


Hi, Mathew!

Once you are done with your graphic 

dev.copy2eps(file="some_name.eps")

If you/like another format, take a look at 

?dev.copy

Regards.


On Sat, 3 Jul 2004, Matthew Cohen wrote:

> I am having trouble saving graphs.  Using the Aqua interface (which is not
> my preferred interface), I have no problems plotting a graph, adding
> additional lines, points, references, etc., and then saving it to a file
> using, for example, the dev2bitmap command.  I have found that, running R
> with Xemacs+ESS under X11 (which I prefer over Aqua), this is not possible.
> I can either send the graph to a Quartz or X11 window, where I can then
> manipulate it using my mouse, but not save it (using dev2bitmap or
> postscript or any other saving command creates a 4kb file that is entirely
> blank when loaded using another viewing program); or I can save it, but
> without the opportunity of manipulating it first.
> 
> I'm guessing that when I run R through X11/Xemacs/ESS, that it doesn't have
> access to the postscript converter that it uses when I run it through the
> Aqua interface.  But this is just a guess, and regardless of whether it is
> correct, I have no idea how to fix the problem.  Any suggestions would be
> enormously appreciated.
> 
> I am running R 1.9.1 on Mac OS 10.3.4 with Xemacs 21.4-15 and ESS 5.2.0.
> I've installed Xemacs using Fink 0.7.0, manually installed ESS according to
> the directions included in its readme file, and compiled R from source,
> placing the R.Framework in my /sw directory.
> 
> Matt
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
Ulises M. Alvarez
LAB. DE ONDAS DE CHOQUE
FISICA APLICADA Y TECNOLOGIA AVANZADA
UNAM
umalvarez at fata.unam.mx




More information about the R-help mailing list