[Rd] Re: [R] .Last.value or % or ANS or ... (was unix)

Mark Myatt mark@myatt.demon.co.uk
Tue, 7 Nov 2000 16:15:35 +0000

ben@zoo.ufl.edu writes:
>  That's true, but I was looking for a more comprehensive solution (which
>would be harder to implement, and have the potential to gobble memory like
>crazy) of being able to retrieve an list of past values -- "oh, that
>third-to-last answer is the one I needed, I'll take that and put it in
>this expression"
>  (Besides which, 4 characters are better than 11 but worse than 1 or 2)
>  I've moved this to R-devel.

That is an interesting idea. I have yet to use anything like a stack in
R but I guess that it should be easy enough to do (it might even be
there already). Seems to me that something like the way Forth works ...
with a stack and reverse polish notation might suit you.


Mark Myatt

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch