[R] Curious warning in R for OS X w/Xwindows

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Jul 23 10:58:38 CEST 2003


"Bear F. Braumoeller" <bbraumoeller at wcfia.harvard.edu> writes:

> I'm starting R with
> 
>     xterm -sb -rightbar -sl 1000 -bg black -fg blue -title R -e
> /usr/local/bin/R
> 
> -- but it also happens if I just start a vanilla terminal and type R.
> 
> As to the other questions,
> 
>  > Sys.getenv("TERM")
>     TERM
> "xterm"
>  > Sys.getenv("PAGER")
>            PAGER
> "/usr/bin/less"
>  > options("pager")
> $pager
> [1] "/usr/local/lib/R/bin/pager"

And less itself works OK in an xterm?  The above looks perfectly
normal to me. The whole procedure is external to R: R writes a file,
then fires up the pager on it, so it is difficult to imagine that
something in R itself should cause the problem. You said that "man"
works; does that use less as its pager too? "man whatever | less"
might be illuminating. 

-- 
   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




More information about the R-help mailing list