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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.