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

Bear F. Braumoeller bbraumoeller at wcfia.harvard.edu
Wed Jul 23 00:59:19 CEST 2003


On Tuesday, July 22, 2003, at 06:24 PM, Peter Dalgaard BSA wrote:

> OS X is not quite Unix/Linux, so I don't really know, but I'd suspect
> that somehow the environment variable that describes the terminal
> capabilities (usually called TERM) got unset or not set properly for
> the terminal emulator in which you are running R. How exactly are you
> starting R? What is the output of
>
> Sys.getenv("TERM")
> Sys.getenv("PAGER")
> options("pager")


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"

 >


-Bear

Bear F. Braumoeller
Assistant Professor
Department of Government
Harvard University
http://www.people.fas.harvard.edu/~bfbraum




More information about the R-help mailing list