From mark@myatt.demon.co.uk  Tue Nov  7 16:15:35 2000
From: mark@myatt.demon.co.uk (Mark Myatt)
Date: Tue, 7 Nov 2000 16:15:35 +0000
Subject: [Rd] Re: [R] .Last.value or % or ANS or ... (was unix)
In-Reply-To: <Pine.LNX.4.10.10011200441280.1937-100000@bolker.zoo.ufl.edu>
References: <286l3cA2bAC6Ewkg@myatt.demon.co.uk>
 <Pine.LNX.4.10.10011200441280.1937-100000@bolker.zoo.ufl.edu>
Message-ID: <AueIzBAnqCC6Ewit@myatt.demon.co.uk>

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


--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


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