Re: [R] R 2.3.1 on OSX: scrolling command line

From: Prof Brian Ripley <>
Date: Wed 05 Jul 2006 - 20:58:00 EST

On Wed, 5 Jul 2006, Max Reuter wrote:

> Dear all,
> I am running R in the terminal (X11) of Mac OS. Recently, I upgraded
> my OS from 10.3 to 10.4 and installed version 2.3.1 of R. Since
> then, R has the annoying behaviour of scrolling long command lines to
> the left, rather than breaking the line and showing the entire
> command on several lines. Starting R with '--no-readline' fixes the
> problem, but at the price of losing command line history and working
> arrow keys.
> Is there a way to way to define what R does to long command lines?

It isn't R! This is a function of readline and the terminal, not of R which has not yet seen the line.

What is likely is that your R install (how did you install it?) is built against a readline clone (I believe there is one from NetBSD? in MacOS 10.4) rather than GNU readline, and the fix is likely to be to install GNU readline and then rebuild R from the sources.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Wed Jul 05 21:08:38 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 06 Jul 2006 - 00:16:42 EST.

Mailing list information is available at Please read the posting guide before posting to the list.