[R-SIG-Mac] X11 with aquamacs

[Ricardo Rodriguez] Your XEN ICT Team webmaster at xen.net
Mon Oct 6 20:15:25 CEST 2008


Kasper Daniel Hansen wrote:
> As you can understand from the comments in the /bin/sh: tar thread, 
> you cannot expect Aquamacs to pick up environment variables you set 
> inside Terminal / xterm.
>
> The - by far - easiest way for you to proceed is to set the 
> environment variables inside R using Sys.putenv, and place everything 
> in .Rprofile
>
> So do the following:
> create ~/.Rprofile with the content
>
> Sys.putenv(DISPLAY = ":0.0") 

Just my 2 cents: Sys.putenv has been deprecated. Sys.setenv does its 
work without warnings.

Cheers,

Ricardo

-- 
Ricardo Rodríguez
Your XEN ICT Team



More information about the R-SIG-Mac mailing list