[R-SIG-Mac] Setting quartz() as default in ESS

Kasper Daniel Hansen khansen at stat.berkeley.edu
Fri Mar 13 02:51:21 CET 2009


The easiest way for you, is to put your Sys.setenv command inside a  
file called .Rprofile, locate in the root of your home directory, ie.  
~/.Rprofile

Commands in this file gets run when you start R.

Kasper

On Mar 12, 2009, at 13:29 , Christopher David Desjardins wrote:

> Thanks. I've seen this posted on the internet and here as well but I'm
> not sure I understand the syntax for setting it permanently. When I  
> run
>
> Sys.setnenv(R_INTERACTIVE_DEVICE="quartz")
>
> It works fine until I close R and then I when I open R again via ESS
> X11 is called. I am sorry if this seems like a redundant question.
> I've really googled this and found this https://stat.ethz.ch/pipermail/r-sig-mac/2008-October/005402.html
>  and similar posts but I'm not sure how it helps. I've read the
> device section in options() but it still remains unclear to me.
> Thanks,
> Chris
>
>
> On Mar 12, 2009, at 2:26 PM, Prof Brian Ripley wrote:
>
>> See ?options, look at 'device'.
>>
>> This is getting to be an FAQ ....
>>
>> On Thu, 12 Mar 2009, Christopher David Desjardins wrote:
>>
>>> Hi, I am running CarbonEmacs and calling R from ESS. When I graph
>>> data  the default device in ESS is X11() and I'd prefer it to call
>>> quartz() instead. Is there a way that I can do this by default
>>> without having to specify quartz() prior to running a graph?
>>> Cheers,
>>> Chris
>>> -----------------
>>> Christopher David Desjardins
>>> Ph.D. Student
>>> Quantitative Methods in Education
>>> Department of Educational Psychology
>>> University of  Minnesota
>>> http://blog.lib.umn.edu/desja004/educationalpsychology/
>>
>> -- 
>> Brian D. Ripley,                  ripley at stats.ox.ac.uk
>> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
>> University of Oxford,             Tel:  +44 1865 272861 (self)
>> 1 South Parks Road,                     +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
> -----------------
> Christopher David Desjardins
> Ph.D. Student
> Quantitative Methods in Education
> Department of Educational Psychology
> University of  Minnesota
> http://blog.lib.umn.edu/desja004/educationalpsychology/
>
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list