[ESS] trace(zapsmall, edit=TRUE) problem under ESS?

Richard M. Heiberger rmh at temple.edu
Sun Oct 12 04:44:56 CEST 2008

emacsclient works fine on Windows.  I am using GNU Emacs 22.1.1

Add the following two lines to your site-start.el

(load-file "c:/emacs/ess-svn/lisp/ess-site.el")  ;; set for your machine

Start R with M-x R and type the line

options(STERM='iESS', editor='c:/emacs/emacs-22.1/bin/emacsclient') ## set
for your machine

Now test it

abcd <- function(x) x+4
abcdefg <- edit(abcd)

In the edit window, change the function and then save it with
C-x # y

Back in *R* look at abcdefg

There is one nuisance glitch, I get the message
Wrong type argument: number-or-marker-p, nil

It seems to cause no harm so I am ignoring it.


At the time we defaulted to gnuclient on windows (emacs 18 or 19 I
think), emacsclient wasn't available on windows.  Now it is included
as part of emacs 22 and newer.


More information about the ESS-help mailing list