Displaying 2 results from an estimated 2 matches for "force_interact".
2015 Apr 29
2
--interactive and -f/-e
...tive if ?stdin? is connected to a (pseudo-)terminal
and not if ?stdin? is redirected to a file or pipe. Command-line options
--interactive (Unix) and --ess (Windows, |Rterm.exe|) override the
default assumption"
But the code in system.c does this:
R_Interactive = R_Interactive && (force_interactive || isatty(0));
R_Interactive is set to FALSE in the -e/-f processing, and
force_interactive is set to TRUE in the --interactive processing, so
there is no way that it can ever override -e/-f. It seems that
--interactive can only have an effect for something like a pipe. Is this
actually the...
2015 Apr 29
0
--interactive and -f/-e
...rminal
> and not if ?stdin? is redirected to a file or pipe. Command-line options
> --interactive (Unix) and --ess (Windows, |Rterm.exe|) override the
> default assumption"
> But the code in system.c does this:
> R_Interactive = R_Interactive && (force_interactive || isatty(0));
> R_Interactive is set to FALSE in the -e/-f processing, and
> force_interactive is set to TRUE in the --interactive processing, so
> there is no way that it can ever override -e/-f. It seems that
> --interactive can only have an effect for somethin...