[R] the value of the last expression

Sam Steingold sds at gnu.org
Fri Feb 10 03:44:11 CET 2012


Is there an analogue of common lisp "*" variable which contains the
value of the last expression?
E.g., in lisp:
> (+ 1 2)
3
> *
3

I wish I could recover the value of the last expression without
re-evaluating it.

thanks

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://camera.org http://ffii.org
http://truepeace.org http://memri.org http://americancensorship.org
The early bird may get the worm, but the second mouse gets the cheese.



More information about the R-help mailing list