savehistory(file="mylog.Rhistory")
loadhistory(file="mylog.Rhistory")
history()
You can read mylog.Rhistory with any word processor. The file has to have the extension .Rhistory