Is in R the last result from the console saved in a variable that I can call?
For example, in Matlab I can use ans to refrence the last value:
ans
yes there is, it is .Last.value:
.Last.value
> 4*5 [1] 20 > .Last.value * 5 [1] 100