# update on the ant package

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

**Romain Francois, Professional R Enthusiast**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I have updated the ant package I described yesterday in this blog to add several things

- Now the R code related to
andtasks can either be given as the**code**attribute or as the text inside the task - The R code has access to special variables to manipulate the current project (
**project**) and the current task (**self**) which can be used to set properties, get properties, … - The package contains ant
**ant**function so that ant can be invoked using a simple Rscript call, see below

The package now includes a demonstrative **build.xml** file in the **examples** directory

Here is the result

To

**leave a comment**for the author, please follow the link and comment on their blog:**Romain Francois, Professional R Enthusiast**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.