[R] Equivalent to Matlab's "Ans"
Liaw, Andy
andy_liaw at merck.com
Tue Jun 30 20:53:45 CEST 2009
Something like this?
R> mean(rnorm(100))
[1] -0.0095774
R> .Last.value
[1] -0.0095774
Andy
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Stephane
> Sent: Tuesday, June 30, 2009 2:07 PM
> To: r-help at r-project.org
> Subject: [R] Equivalent to Matlab's "Ans"
>
> Hi everyone,
> I was just wondering if there is an equivalent in R to the
> shortcut "Ans" in
> MatLab whereby I can use the previous result for the current
> command? This
> could save a lot of time when hacking in R itself, not from an editor.
>
> Thanks,
> Stephane
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
Notice: This e-mail message, together with any attachme...{{dropped:12}}
More information about the R-help
mailing list