Re: [R] trying to mimic page 70 of Software for Data Analysis

From: Marc Schwartz <>
Date: Sun, 17 Aug 2008 20:50:43 -0500

on 08/17/2008 07:15 PM wrote:
> I was trying to do what is on page 70 of John Chambers' new book namely
> using trace to invoke the browser by doing
> trace(zapsmall, edit = TRUE)
> but , typing above at an R prompt, I get
> trace(zapsmall, edit=TRUE)
> sh: EMACS: command not found
> Error in edit(name, file, title, editor) :
> problem with running editor EMACS



Take a look at:


and see what it returns. More than likely "EMACS" from what I see above.

It should be in all lower case. That is 'emacs'.

Take a look at your .Rprofile or perhaps at the 'EDITOR' or "VISUAL' shell variables to see where you have this set and edit accordingly. See ?edit for more information.

Enjoy the book. My copy came just before I left for useR! and I have not had a chance to read it yet.


Marc Schwartz mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 18 Aug 2008 - 01:53:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Aug 2008 - 02:34:49 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive