[R] arrow keys in R

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Sat Feb 26 17:14:13 CET 2022


On Thu, 24 Feb 2022 16:14:49 -0800
Bogdan Tanasa <tanasa using gmail.com> wrote:

> On one hand, the symbols ^[[A^[[A^[[A appear;

> On the other hand, shall I start typing a command, such as "library",
> I begin by typing the first 2 letters "li", click "left arrow", and
> the result is "li "(i.e. lots of spaces) instead of having the command
> "library" written on the screen.

Did you mean Tab here? I.e. you type "libr", you press Tab, and R
autocompletes that to "library".

Sounds like readline and/or terminal problems. How was R compiled and
installed on this system? What terminal are you running R in, and is the
$TERM variable set correctly? Does the target system have the correct
termcap definitions for this terminal?

Perhaps https://cran.r-project.org/doc/manuals/r-release/R-admin.html
could be of some help to you.

-- 
Best regards,
Ivan



More information about the R-help mailing list