[R] Last answer

Rainer Schuermann Rainer.Schuermann at gmx.net
Fri Jul 20 07:34:53 CEST 2012


Is that what you mean:

> 2 + 3
[1] 5
> .Last.value
[1] 5

Rgds,
Rainer

(from R-intro.pdf, page 7, 2nd footnote)


-------- Original-Nachricht --------
> Datum: Thu, 19 Jul 2012 22:12:22 -0700 (PDT)
> Von: darnold <dwarnold45 at suddenlink.net>
> An: r-help at r-project.org
> Betreff: [R] Last answer

> Hi,
> 
> In Matlab, I can access the last computation as follows:
> 
> >> 2+3
> 
> ans =
> 
>      5
> 
> >> ans
> 
> ans =
> 
>      5
> 
> Anything similar in R?
> 
> David
> 
> 
> 
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Last-answer-tp4637151.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
-------

Gentoo Linux with KDE



-- 

-------

Gentoo Linux with KDE



More information about the R-help mailing list