[Rd] Mods that allow R scripts
Thu, 11 Apr 2002 10:14:07 -0500
> I've hacked R so that it can be used to write shell and/or
> CGI scripts, e.g. "hello world" can be written as:
> #!/usr/local/lib/R/bin/R.bin --script
> cat("Hello, World!\n");
> The mods required to enable this aren't particularly major.
> (Adds about 70 lines of code, IIRC.) Anyone else interested
> in adding this to the R core?
Yes! I found it very useful in other software systems (e.g. Octave).
That feature-request gets discussed here every now and then; I
recall Peter and Luke discussing it here a few months back.
According to the latest figures, 43% of all signatures are totally worthless.
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: firstname.lastname@example.org