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 <k...@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

Reply via email to