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

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

on 08/17/2008 07:15 PM markleeds_at_verizon.net 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

<snip>

Mark,

Take a look at:

  getOption("editor")

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.

Regards,

Marc Schwartz



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive