[R] R loosing history
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Apr 6 19:07:27 CEST 2004
Martin Keller-Ressel wrote:
>
> Hello,
>
> Im running R 1.8.1 on Win2000 and frequently using the function history()
> to keep track of what I did in my R session.
> In a recent session I typed history(max=Inf) and to my surprise there were
> only 15 lines of code where there should have been approx. 300 lines and I
> lost a lot of valuable work.
> Do you have any idea what caused this behaviour? help(history) didn't make
> me any smarter. Am I misunderstanding the concept of history()? I was
> expecting it to keep track of every command I type during my session.
history() *shows* (the last 25 lines of) the current history buffer.
history(max=Inf) *shows* all the current history buffer.
Note: It does not save the history, it does not set any limits. In order
to save the history use savehistory().
A major part of the history buffer will be emptied if the buffer becomes
full.
You can set larger limits to the buffer by clicking "Edit" -> "GUI
preferences" and set "buffer bytes" and "lines" appropriately.
Uwe Ligges
> > R.version
> _
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 1
> minor 8.1
> year 2003
> month 11
> day 21
> language R
>
> Any help is appreciated,
>
> Martin Keller-Ressel
>
> --
> Erstellt mit M2, Operas revolutionärem E-Mail-Modul:
> http://www.opera.com/m2/
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list