How can I get the COMPLETE history of the console in R. I'm using Windows and RStudio?
I know the history() and savehistory() commands, but if I e.g. save my history with the savehistory() function, I only get a small part compared to what I can see when scrolling back through the history using simply the up-arrow key in the console. I also tried to use Sys.setenv(R_HISTSIZE = 100000), but I don't get a longer output when using savehistory() afterwards.