[R] X-emacs and R for Windows

Philippe Glaziou glaziou at pasteur-kh.org
Tue Jul 1 12:48:38 CEST 2003


Chriss, Neil <Neil.Chriss at sac.com> wrote:
> Is there any way to make XEmacs (or any other editor) the default editor for
> R so that when I type 
>  
> > sample <- function(x,y) {
> + z<-x+y
> + }
> + edit(sample)
>  
> the XEmacs (or other editor) is the editor for this function (the default
> seems to be MS Notepad, blech).


See ?options

> options()$editor
[1] "/usr/bin/vim"
> options(editor="emacs")
> options()$editor
[1] "emacs"

-- 
Philippe




More information about the R-help mailing list