From c@@rdi@g@bor @ending from gm@il@com  Thu Jul 26 13:54:27 2018
From: c@@rdi@g@bor @ending from gm@il@com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Thu, 26 Jul 2018 12:54:27 +0100
Subject: [Rd] 
 Possible bug: R --slave --interactive stdin echo on Linux when
 stdin is a fifo
In-Reply-To: <CANVKczMGuQ0n1XKRu5=sRqeTOxmA52wOeLTrff9kV8N3LcgJ-Q@mail.gmail.com>
References: <f85c602f061144619f89a71b5f056a04@AM6PR04MB4264.eurprd04.prod.outlook.com>
 <CANVKczMGuQ0n1XKRu5=sRqeTOxmA52wOeLTrff9kV8N3LcgJ-Q@mail.gmail.com>
Message-ID: <CABtg=KnbkMSCgAYeiuOGJ3-kOgjc4McPhw2skS-6eyydCf8N0A@mail.gmail.com>

On Thu, Jul 26, 2018 at 12:25 PM Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote:
>
> On Thu, Jul 26, 2018 at 12:22 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> > I am trying to control a background R session, connected via a fifo /
> > named pipe.
>
>  Is the fifo significant here? If I read the same R code from a file
> via `<` I get the input echoed (R 3.4.4, Ubuntu).

Yeah, for a file I get echo on both macOS and Linux, but not on Windows.

I think the most useful behavior for --slave is no echo at all, maybe?
But I might be missing the motivation behind --slave.

Another thing is that windows does not have --interactive. Is there a
way to run R
1) without echoing stdin, and
2) without quitting on the first error,
on all platforms?

Gabor

> Barry



[Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=