[Rd] Re: [R] .Last.value or % or ANS or ... (was unix)
Mon, 20 Nov 2000 04:45:12 -0500 (EST)
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
(Besides which, 4 characters are better than 11 but worse than 1 or 2)
I've moved this to R-devel.
On Tue, 7 Nov 2000, Mark Myatt wrote:
> Yves Gauvreau <firstname.lastname@example.org> writes:
> >... and Matlab uses "ans" and Mathematica effectively uses %, %%
> >Would be nice to have something simpler than .Last.value
> Perhaps I am stating the obvious or being extremely stupid but you can
> create a function:
> lv <- function()
> And then use lv() whenever you need .Last.value.
> Mark Myatt
> r-help 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: email@example.com
318 Carr Hall firstname.lastname@example.org
Zoology Department, University of Florida http://www.zoo.ufl.edu/bolker
Box 118525 (ph) 352-392-5697
Gainesville, FL 32611-8525 (fax) 352-392-3704
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: email@example.com