Re: [R] breaking command in command line in R for Mac Aqua

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 03 Aug 2005 - 21:41:19 EST

Adaikalavan Ramasamy <ramasamy@cancer.org.uk> writes:

> Why not use an editor ?
>
> I would highly recommend Emacs in combination with Emacs Speaks
> Statistics (ESS). Section 2.1 of [1] might help with the installation.
>
> Otherwise you can try JGR [2] or others [3]. There is a R special
> interest group for MAC users [4] that you can try.
>
> [1] http://www.xemacs.org/Documentation/packages/html/ess_2.html
> [2] http://stats.math.uni-augsburg.de/JGR/index.shtml
> [3] http://www.sciviews.org/_rgui/projects/Editors.html
> [4] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> Regards, Adai

Neither of those prevent you from sending incomplete lines do they?

In a tight spot, you can alway just generate a syntax error. The thing is that you will typically have forgotten how to do that reliably. Entering

 $$

or

 a b

is a good guess. The main exception is that you could be in the middle of a text string, in which case you need a terminating quote first.

        -p

> On Tue, 2005-08-02 at 13:34 -0700, Michael Sohn wrote:
> > I'm using R for Mac Aqua version 2.1.1
> >
> > If at the command line, I type:
> > ls(
> > and then a return, the command line prompt changes to
> > a plus sign indicating that the command has not been
> > completed. How do I break, or kill, the partial
> > command? Sometimes, I type a long command but miss a
> > bracket or parenthesis. On a unix or linux version of
> > R, I can type ctrl-c. On the Mac, ctrl-c,
> > command-(dot), and escape do not work.
> >
> > Any solutions?
> > Mike

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Aug 03 21:46:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:39 EST