Philippe Glaziou <[EMAIL PROTECTED]> writes:

> 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"

You might want to consider the emacs client variants (winclient, I
think, on XEmacs, not sure what it is on Emacs, gnuclient or
emacsclient); they require Emacs to be already running, and simply
provide an attached frame to work in.

best,
-tony
-- 
A.J. Rossini  /  [EMAIL PROTECTED]  /  [EMAIL PROTECTED]
http://software.biostat.washington.edu/ UNTIL IT MOVES IN JULY.
Biomedical and Health Informatics, University of Washington
Biostatistics, HVTN/SCHARP, Fred Hutchinson Cancer Research Center.
FHCRC: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email 

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

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

Reply via email to