[R] History pruning

Ken Williams ken.williams at thomsonreuters.com
Thu Jul 31 15:35:10 CEST 2008




On 7/30/08 1:59 PM, "Marc Schwartz" <marc_schwartz at comcast.net> 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 R.app 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



More information about the R-help mailing list