[Rd] R as a scripting engine
edd at debian.org
Sun Jan 11 21:50:25 CET 2009
On 11 January 2009 at 20:18, Prof Brian Ripley wrote:
| Those of you tracking R development will have noticed that we are
| moving towards using R as a scripting engine.
| - it is platform-independent and needs no other tools installed.
| - it is fast.
Indeed. I really like working with r scripts.
And littler by Horner and Eddelbuettel is faster than Rscript -- see eg the
scripts tests/timing.sh and tests/timing2.sh in the SVN archive / littler
tarballs (and the results below for illustration).
We should still appreciate it you could finally acknowledge existence of
littler it in the R / Rscript documentation. You are not doing users any
service by pretending it doesn't exist.
That said, we are not (yet ?) building r for Windows, and I appreciate that
Rscript is available there. Maintenance and use of R will be easier with a
consistent set of tools. This is a good move.
edd at ron:~/svn/littler/tests> ./timing.sh
--- GNU bc doing the addition 10 times
--- our r doing the addition 10 times
--- GNU R's Rscript doing the addition 10 times
--- GNU R doing the addition 10 times
edd at ron:~/svn/littler/tests> ./timing2.sh
--- our r calling summary() 20 times
--- GNU R's Rscript calling summary() 20 times
--- GNU R calling summary() 20 times
edd at ron:~/svn/littler/tests>
Three out of two people have difficulties with fractions.
More information about the R-devel