I am a beginner working in r, how do you save everything from console, your commands, as well as the output, everything that appears in the console.
Only things that I could come up with is sink(...), before starting the session. i.e.
sink("dataout.txt")
but then nothing appears in the console everything(except plots) goes to dataout.txt file. What I need is to be able to look at what I have done throughout any given session after dabbling around. thx
You can use savehistory("dataout.txt")
which will write the entire history as plaintext.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With