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). Thanks, Neil Chriss DISCLAIMER: This e-mail message and any attachments are inte...{{dropped}}
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