Yeh, Richard C wrote: > In R, is there an automatic variable that stores the results of the most > recent command or commands? (I am thinking of a behavior like > Mathematica's % result-history substitution syntax.) >
Something like .Last.value: > x=sqrt(2) > .Last.value [1] 1.414214 which might get more usage if it was less fiddly to type. Barry ______________________________________________ [email protected] 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.
