Thanks a lot for all your answers 2009/6/30 Liaw, Andy <andy_l...@merck.com>
> Something like this? > > R> mean(rnorm(100)) > [1] -0.0095774 > R> .Last.value > [1] -0.0095774 > > Andy > > > -----Original Message----- > > From: r-help-boun...@r-project.org > > [mailto:r-help-boun...@r-project.org] On Behalf Of Stephane > > Sent: Tuesday, June 30, 2009 2:07 PM > > To: r-help@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@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 attach...{{dropped:17}} ______________________________________________ R-help@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.