In Mathematica, the output of the last expression can be accessed using the symbol %
.
In particular, one can do the following in Mathematica:
1+2
% / 3
This will return the output 1
, because the output of the first expression is 3, and 3/3 = 1
.
Is there an equivalent functionality in R
?