Re: [R] History pruning

From: Ken Williams <>
Date: Thu, 31 Jul 2008 08:35:10 -0500

On 7/30/08 1:59 PM, "Marc Schwartz" <> wrote:

> I (and many others) use ESS (Emacs Speaks Statistics), in which case, I
> have an R source buffer in the upper frame and an R session in the lower
> frame.

I also use ESS to edit my R code (inside Aquamacs Emacs), but I usually use the OS X port for most of my interactive sessions. Together I think those give me roughly the same amount of IDE-like support as you've got in your setup.

I think the ess-smart-underscore command alone is worth the price of admission.

But none of that directly addresses the issue of automatically (or semi-automatically) taking a long sequence of commands and pruning it down to a smaller sequence that produces the same results. Theoretically the allowable prunings would be akin to those of a good optimizer. And the R language would seem fairly amenable to such things, with its pass-by-value functional semantics, etc.

Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 31 Jul 2008 - 14:37:47 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 Thu 31 Jul 2008 - 16:33:04 GMT.

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

list of date sections of archive