[R-pkgs] R meets apache ant

Romain Francois romain.francois at dbmail.com
Tue Sep 8 08:23:56 CEST 2009


Hello,

This is to announce the first release of the "ant" R package, which has 
been pushed to CRAN yesterday, and should reach your mirror and your 
platform soon.

The package provides an R-aware version of the famous build tool from 
the apache project. http://ant.apache.org/

The package ships an R script that can be used to invoke ant with enough 
plumbing so that it can use R specific tasks within targets.

$ Rscript -e "ant::ant()"

The package contains two R specific tasks:
- <r-run> that can be used to run arbitrary R code.
- <r-set> that can be used to set a property based on the result of an R 
expression.

An demonstrative build file is included within the package to further 
illustrate the two tasks. Also available at my blog (http://tr.im/xMdt)

R> system.file( "examples", "build.xml", package = "ant" )

The package is source-controlled at r-forge as part of the orchestra 
project. http://r-forge.r-project.org/projects/orchestra/

Many thanks to Duncan Murdoch who suggested adding the "ant" function as 
a shortcut to invoke the script and Simon Urbanek who revealed to me the 
existence of the configure script.

This is a very first release, so feedback and ideas for additional 
features or tasks is very welcome.

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/xMdt : update on the ant package
|- http://tr.im/xHLs : R capable version of ant
`- http://tr.im/xHiZ : Tip: get java home from R with rJava



More information about the R-packages mailing list