[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix shell readline issue with R
From: |
Edouard Klein |
Subject: |
Re: guix shell readline issue with R |
Date: |
Sun, 02 Jul 2023 21:09:35 +0200 |
User-agent: |
mu4e 1.10.2; emacs 28.2 |
Hi Kyle,
Running
guix shell r
and then
R
will get you the C-c handling you want.
There is indeed readline support with guix shell r -- R:
up arrow to get history, c-E, c-A for end of line, start if line, etc.
I think maybe the problem lies not with readline but with the way
signals are handled. I can't seem to understand exactly how, but I would
look into that direction.
Cheers,
Edouard.
Kyle Andrews <kyle@posteo.net> writes:
> Dear Guix,
>
> When I run `guix install r` and then start an R process I get a
> readline-enabled
> REPL where I can abort commands with C-c C-c while keeping the process alive
> afterwards. When I run R from `guix shell r -- R` I don't get any readline
> support in R. Pressing C-c immediately aborts the process. This is
> inconvenient
> for interactive exploration. Is there a way to make guix shell work the same
> way
> as if the R command was installed into a profile?
>
> Thanks for your help,
> Kyle