[R] SuSe does not like more.

alexander volovics awol at STAT.UNIMAAS.NL
Tue Oct 13 15:16:38 CEST 1998

On Tue, 13 Oct 1998 Peter Dalgaard wrote:

>> In R "help(package=pkg)" or "library(help=pkg)" seems to behave
>> like 'more' or 'less' or something that looks like one of these.
>> Under RedHat this behaves normally: at the end of help it reverts
>> automatically to the R prompt '>'.
>> In SuSe it doesn't jump back to the prompt automatically:
>> I see something like "line 1/28 (end)" and then I have to type
>> a 'q' just like with 'less'. The result is that the help text
>> disappears.

>Sounds as if SuSE is having more aliased to less (or sets the PAGER
>env. variable)? The screen clear "feature" of less can be disabled by
>the LESS environment variable.

Thank you for the reply.
You were right of course, SuSe sets PAGER=less.
So LESS=-XR R works perfectly.

So I take it that R uses 'more' to pipe output to the screen?

Alexander Volovics
Dept of Methodology & Statistics
Maastricht University, Maastricht, NL
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