[R] R-0.63.1 library() command

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Dec 7 15:15:13 CET 1998

U-E59264-Osman F Buyukisik <absd00t at c1186.ae.ge.com> writes:

> Hello,
>  I just installed 0.63.1 (from diffs, patch seemed to work OK). I just 
> noticed that library() command is behaving differently. It is
> outputting one line a time and I have to hit the "q" key to advance a
> single line ! library(help=modreg) seems to be working OK. So are
> other help commands (e.g. ?library). I can use less directly on the
> LibIndex file without any problems (pages OK). What could be wrong?
> I am on hpux10.20 using a bash shell, PAGER set to "less". I also
> tried "more" or "most" : same problem. 
>  TIA
> Osman

An inelegant side effect of  .Platform$show.file(title)  which tries
to do things in a portable (even to Windows) manner. It seems that
this could use some rethinking.

PAGER="less -XE" should do the trick for now (no screen-switching,
exit on eof -- are there similar options for HP "more"?) Of course,
this also affects ordinary help pages, and it doesn't actually page if
you have more than a screenful of packages.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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