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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.