[R] History pruning

Richard M. Heiberger rmh at temple.edu
Fri Aug 1 20:13:17 CEST 2008


I meant 5a 5b 5c.  Multiple-line commands are handled correctly.
What is is doing is looking for "> " and " +" prompts.  Anything else
is removed.

Here is a selection from the *R* buffer and the result after cleaning.
It includes an example of par().

Rich


*R*
> options(chmhelp = FALSE)
> options(STERM='iESS', editor='gnuclient.exe')
> par()$usr
[1] 0 1 0 1
> plot(1:10)
> par()$usr
[1]  0.64 10.36  0.64 10.36
> a <-
+ 3+4
>

After cleaning
options(chmhelp = FALSE)
options(STERM='iESS', editor='gnuclient.exe')
par()$usr
plot(1:10)
par()$usr
a <-
3+4



More information about the R-help mailing list