tags:

views:

129

answers:

2

In matlab, you can re-use the result of the (non affected) preceding calculous: it is stored in variable ans. Does R has something equivalent ?

+1  A: 

The value of the internal evaluation of a top-level R expression is always assigned to .Last.value before further processing.

rcs
+12  A: 
.Last.value

See also this and this

gd047

related questions