Skip to content

R scripting patches for R-1.7.0

2 messages · Neil McKay, Duncan Temple Lang

#
I've patched R so that it can be used as a scripting language, i.e.
you can (on Unix-like systems) write files containing R code
and execute them non-interactively, e.g.:

	#!/usr/local/lib/R/bin/R.bin --script

	cat("Hello World!\n")

I've updated the patches for R-1.7.0; if you're interested in the
patches, e-mail me at mckay@gmr.com, and I'll send them to you.
#
I haven't forgotten about this and it is high on my todo list.
I have been trying to find the neatest way to combine this with
some other aspects  of the intialization of R and that is why
it has been taking so long.

 D.
Neil McKay wrote: