[R-SIG-Mac] How to start editor from within R.

Simon Urbanek simon.urbanek at r-project.org
Mon Jul 25 09:35:29 CEST 2005


On Jul 25, 2005, at 1:28 AM, Sascha Frydman wrote:

> By using the menu command, I am able to open the built in editor  
> without tieing up the command line the way that edit() does.  Is  
> there a way to do this from within R?

Using the built-in editor? I don't think so - there may be a back  
door using the 'open' mechanism, but nothing directly.

>   Also, is there a command to start the X11 server from within R or  
> is this also only accessible from the menu?

Pretty much the same answer, you could use something like system 
("open /Application/Utilities/X11.app"), but I guess that's not what  
you meant ;).

Cheers,
Simon



More information about the R-SIG-Mac mailing list