Skip to content
Prev 82040 / 398506 Next

what is best for scripting?

I do nearly all my scripting in R if its part of an R project.  That keeps
things simple since everything is in one language.  See ?BATCH,
?commandArgs, ?readLines, ?system, ?grep, ?regex (and commands
pointed to by it).  If your script deals with XML, see the R XML package.

If R is not involved I may use R anyways for scripting since its powerful
and I already use it for other tasks but if I don't use R then I will use
awk/gawk because its simple and fast.

If its important to eliminate all external dependencies I will use Windows
batch (or jscript/javascript) as in
  http://cran.r-project.org/contrib/extra/batchfiles/

I don't find I rarely need anything beyond that.  I used to use
perl in my pre-R days but since using R don't find I need it any more.
I have played with python and it looks very nice but for most
R problems its probably also unnecessary.
On 12/2/05, Molins, Jordi <Jordi.Molins at drkw.com> wrote: