Chriss, Neil <[EMAIL PROTECTED]> 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

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to