[R] how to end edit in Linux

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Mar 5 08:59:54 CET 2006


On Sun, 5 Mar 2006, Judy Chung wrote:

> Hi, all:
>
>   a<-data.frame(x=c(1:10),y=c(10:1))
>   edit(a)

Let us assume you are running under X11, so you are invoking 
edit.data.frame and hence the data editor.

>   how to quit the edit in Linux, and then do other computing?
>   As In Windows, just close the edit window, but how to do
>   in Linux?

There is a Quit rectangle at the top right of the window, and you click on 
that.  Probably closing the window also works (it does for me), but this 
depends on your Window Manager.

If you are not running X11, you need to quit the external editor which is 
by default vi (and ZZ is one way).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list