[R] How to save & play back an entire R session?

Philipp Pagel p.pagel at wzw.tum.de
Thu Dec 16 19:43:27 CET 2010

> Saving the session history is indeed easy (savehistory).
> The problem is the playback.  I didn't find a reliable method.

Well, you could simply source() the .Rhistory file (or the file you
saved under some other name). But as you already poitned out - it's
better to go with scripts to begin with.


Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany

More information about the R-help mailing list