[Rd] Re: [R] .Last.value or % or ANS or ... (was unix)
bolker@zoo.ufl.edu
bolker@zoo.ufl.edu
Wed, 8 Nov 2000 08:16:56 -0500 (EST)
I see that this simple solution has troubles.
I think part of the way Mathematica deals with is by doing slick things
with storage, not storing multiple copies of identical objects. I
understand that .Alias is scary, but would there be any way of using the
same mechanism to keep a buffer/stack/list/whatever of links to previous
answers?
On 8 Nov 2000, Peter Dalgaard BSA wrote:
> "Charles C. Berry" <cberry@tajo.ucsd.edu> writes:
>
> > Admittedly, this is NOT the same as having a stack of objects...
>
> It would be no big deal to create a stack of objects resulting from
> the last N expressions. What I'm not too sure about is whether you'd
> really want that. Notice that it could imply keeping several copies of
> a data set in memory. E.g. the value of an assignment like "data <-
> transform(data, logx=log(x))" is the value of the RHS.
>
>
--
318 Carr Hall bolker@zoo.ufl.edu
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._