[R] Save/Display R Work
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Wed Sep 19 08:18:43 CEST 2001
On Wed, 19 Sep 2001, Ko-Kang Kevin Wang wrote:
> Hi,
>
> I was tutoring in the lab when a student asked me this question.
>
> Is it possible to save the work done in R, then source it back in AND
> display all the work within R later? I know that one can save the history
> (i.e. all the codes in a session) in *.R format, then source it back in at
> a later stage. However the historical codes will not be displayed within
> R, only the line source(...) is displayed.
>
> I suggested the student to use notepad (or equivalent) to do the
> codes. However I'm interested to know if there are ways to display the
> history (method other than Display File under the File menu) in R (Windows
> version).
Effectively the same thing is done by the history() command (all versions
which can save the history, which is all but Unix without readline, AFAIK).
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list