Re:Writing a Polyglot Script
by shakna on Saturday January 25, 2020 @07:28PM
(#22149575)
They may have only been able to submit the single file to the system. (In which case I would have generated the Rscript to a tmpfile, but maybe that wasn't allowed either.)
[ Parent
| on HN ]
Re:Writing a Polyglot Script
by rcthompson on Saturday January 25, 2020 @08:01PM
(#22149701)
No, I totally could have written a separate R script that was then run by the bash script. I just wanted to have it all in one file, and I thought it was a fun challenge figuring out how to do it.