From: Edouard Klein <edou@rdklein.fr>
To: Kyle Andrews <kyle@posteo.net>
Cc: help-guix@gnu.org
Subject: Re: guix shell readline issue with R
Date: Sun, 02 Jul 2023 21:09:35 +0200 [thread overview]
Message-ID: <87ttumdt63.fsf@rdklein.fr> (raw)
In-Reply-To: <87lefy2ne6.fsf@posteo.net>
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
next prev parent reply other threads:[~2023-07-02 19:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-02 17:57 guix shell readline issue with R Kyle Andrews
2023-07-02 19:09 ` Edouard Klein [this message]
2023-07-02 20:53 ` Kyle Andrews
2023-07-02 22:14 ` Kyle Andrews
2023-07-03 7:58 ` Edouard Klein
2023-07-03 21:55 ` Kyle Andrews
2023-07-04 12:27 ` Edouard Klein
2023-08-23 14:56 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttumdt63.fsf@rdklein.fr \
--to=edou@rdklein.fr \
--cc=help-guix@gnu.org \
--cc=kyle@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).