[R] X-emacs and R for Windows

A.J. Rossini rossini at blindglobe.net
Tue Jul 1 17:18:34 CEST 2003


Philippe Glaziou <glaziou at pasteur-kh.org> writes:

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

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  /  rossini at u.washington.edu  /  rossini at scharp.org
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}}




More information about the R-help mailing list