[Rd] Rscript -e EXPR fails to launch if stdin is closed

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Oct 14 03:16:00 CEST 2022

On 10 October 2022 at 09:34, Henrik Bengtsson wrote:
| Thank you Peter for the quick fix.  Will this make it into R-patched
| to become R 4.2.2 soon?

I checked when you posted this and didn't reply -- but this is also not an
issue for littler so if you need alternative there is one

  $ Rscript --vanilla -e 42 0<&- 
  Fatal error: creating temporary file for '-e' failed
  $ r -p -e 42 0<&-      # -p to force print
  [1] 42


dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-devel mailing list