[ESS] trace(zapsmall, edit=TRUE) problem under ESS?
John Chambers
jmc at r-project.org
Fri Sep 26 14:06:22 CEST 2008
It would help to quote my comment fully enough to make sense:
------------------
Spencer Graves wrote:
....
Your example "trace(zapsmall, edit=TRUE)" (p. 70) seems to
malfunction under ESS (XEmacs 21.4.20 with ESS 5.3.6, if I understand
correctly how to get this information) running Rterm 2.7.2.
This has nothing to do with the example or, really, with trace. As
?trace mentions under the "edit" argument, it calls the function edit(),
which in turn uses options("editor") to choose an editor. One needs to
set the editor to something that works with the GUI you're using (many
GUI's do this themselves). I don't use ESS to run examples, but I
recollect this question was discussed on the ESS mailing list.
------------------------
John
Spencer Graves wrote:
> Hello:
>
> I have an ESS problem with an example in Chambers (2008)
> Software for Data Analysis (Springer, p. 70): He describes using
> "trace(zapsmall, edit=TRUE)", which gives me the following:
>
>
> > trace(zapsmall, edit=TRUE)
> Error in edit(name, file, title, editor) :
> unable to run editor 'gnuclient.exe'
>
>
> I asked John about this. He replied, "I don't use ESS to run
> examples, but I recollect this question was discussed on the ESS
> mailing list."
>
> If someone can help me with this, it will likely help more than
> just me, because it will likely go into a script file in the SoDA
> package, companion to Chambers (2008), following the Bates model in
> "system.file('scripts', package='nlme')".
>
> Thanks,
> Spencer
>
> SESSION INFO:
>
> Running ESS 5.3.8 with
> GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
> of 2008-09-06 on SOFT-MJASON
>
> sessionInfo()
> R version 2.7.2 (2008-08-25)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_MONETARY=English_United
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>>
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
More information about the ESS-help
mailing list