The title pretty much says it all.
I left a process running overnight and used the tictoc package to measure the duration of it.
When I checked back this morning, I read the output then cleared the console as I always do (muscle memory) to keep things tidy.
Even though I remember the duration, I would like to share the details of the output with a colleague and rather than running the process again (it took a long time), I wonder if it is possible to retrieve just the output of the console.
There don't appear to be any similar questions on Stack Overflow, so I decided to pose one.
I am aware that it is possible to retrieve one's own history (history()) but that only focuses on inputs whereas I am looking for outputs.
Additional detail:
zx8754's answer is good, although it only works for the previous result, whereas I need something that looks further back.
Since clearing the console, I have run several commands, meaning that .Last.value won't work in this case. Is there an approach that looks further back than the most recent output?