[R] History pruning

Marc Schwartz marc_schwartz at comcast.net
Thu Jul 31 17:49:11 CEST 2008


on 07/31/2008 08:35 AM Ken Williams wrote:
> 
> 
> 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.

On that point, I would need to defer to others as to any pre-existing 
tools. I am not aware of any at this point, but that does not mean that 
none exist.  Sounds like the basis of an interesting research project.

Marc

P.S. I just noted the "Eagan, MN" in your sig. I live in Eden Prairie...



More information about the R-help mailing list