Message-ID: <CANz9Z_+e-2H0WuVvzQs3iAyO84vFz_V6-dzUWfSmeae0buQ7Jg@mail.gmail.com>
Date: 2012-07-20T05:19:42Z
From: Joshua Wiley
Subject: Last answer
In-Reply-To: <1342761142969-4637151.post@n4.nabble.com>
Hi David,
No, but you can store the results and access that.
## parentheses to force printing
(x <- 2 + 3)
x
Cheers,
Josh
On Thu, Jul 19, 2012 at 10:12 PM, darnold <dwarnold45 at suddenlink.net> wrote:
> 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.
--
Joshua Wiley
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles
https://joshuawiley.com/