When using Rscript -e <cmd>, (mistakenly) putting --args in front of
-e causes an interactive R session to start that does not quit
automatically and that does not display a prompt. For example,
{hb}: Rscript --vanilla -e "0"
[1] 0
{hb}: Rscript --vanilla -e "0" --args
[1] 0
{hb}: Rscript --vanilla --args -e "0"
1
[1] 1
2
[1] 2
quit("no")
Further troubleshooting narrows this down to:
{hb}: R --vanilla --slave --args -e 0
1
[1] 1
quit('no')
having this problem.
/Henrik
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel