I compiled R-1.2.2 on my SuSE 7.1, kernel 2.4.2-2 machine with libreadline.4.1 and although I can use vi commands to scroll on the shell (bash) command line, I CANNOT do it in R. Here's the relevant parts of ./configure (and make): anovo at friedman R-1.2.2 > ./configure | grep readline checking for rl_callback_read_char in -lreadline... yes checking for readline/history.h... yes checking for readline/readline.h... yes anovo at friedman R-1.2.2 > make | grep readline <snip> -L/usr/local/lib -lreadline I created symbolic libreadline.so.3 point to libreadline.so.4.1 and re-installed (deleting directory, untaring and ./configure), but it did not help. Other suggestions? Thanks in advance, _____________ Alvaro Novo SuSE 7.1 -=- Kernel 2.4.2-4 9:23pm up 3 days, 5:23, 3 users, load average: 0.01, 0.08, 0.20 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
lreadline
3 messages · Alvaro A. Novo, Martin Maechler
"Alvaro" == Alvaro A Novo <novo at uiuc.edu> writes:
Alvaro> I compiled R-1.2.2 on my SuSE 7.1, kernel 2.4.2-2 machine with
Alvaro> libreadline.4.1 and although I can use vi commands to scroll on
====
The bash can be told to use vi-style commands (instead of default
Emacs-style ones),
but AFAIK R can not (yet; are you willing to provide patches ??)
Alvaro> the shell (bash) command line, I CANNOT do it in R. Here's the
Alvaro> relevant parts of ./configure (and make):
..............
Alvaro> anovo at friedman R-1.2.2 > ./configure | grep readline
Alvaro> checking for rl_callback_read_char in -lreadline... yes
Alvaro> checking for readline/history.h... yes
Alvaro> checking for readline/readline.h... yes
Alvaro> anovo at friedman R-1.2.2 > make | grep readline
Alvaro> <snip>
Alvaro> -L/usr/local/lib -lreadline
Alvaro> I created symbolic libreadline.so.3 point to libreadline.so.4.1 and
Alvaro> re-installed (deleting directory, untaring and ./configure), but it did not
Alvaro> help. Other suggestions?
Alvaro> Thanks in advance,
Alvaro> _____________
Alvaro> Alvaro Novo
Alvaro> SuSE 7.1 -=- Kernel 2.4.2-4
Alvaro> 9:23pm up 3 days, 5:23, 3 users, load average: 0.01, 0.08, 0.20
Alvaro> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Alvaro> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Alvaro> Send "info", "help", or "[un]subscribe"
Alvaro> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
Alvaro> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wednesday 07 March 2001 03:20, Martin Maechler wrote:
> >>>>> "Alvaro" == Alvaro A Novo <novo at uiuc.edu> writes: > > Alvaro> I compiled R-1.2.2 on my SuSE 7.1, kernel 2.4.2-2 machine > with Alvaro> libreadline.4.1 and although I can use vi commands to > scroll on ==== > The bash can be told to use vi-style commands (instead of default > Emacs-style ones), > but AFAIK R can not (yet; are you willing to provide patches ??) First, I apologize if my exposition was not clear, because I have been using vi-style commands (see below what I mean by vi-style) in R well before 1.0.0. Second, I have to report that I solved my problem this morning... Here's a briefing: although .bashrc reads set -o vi my .inputrc file, reading anovo at friedman anovo > cat .inputrc set editing-mode vi was missing (I forgot to copy it to my new $HOME). Once that's in place, in R-1.2.2 (that I compiled), if I press ESC followed by: (i) j, it scrolls down, (ii) / and some text it search R history... (iii) ... Thank you for your time, Alvaro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._