|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.rproject.ant.RTask
org.rproject.ant.RRun
public class RRun
Ant task that runs R code
Example :
<r-run>rnorm(10)</r-run>
| Field Summary | |
|---|---|
private java.lang.String |
code
Code to be run |
| Fields inherited from class org.rproject.ant.RTask |
|---|
buffer, failonerror, failure, loop, project, R |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location |
| Constructor Summary | |
|---|---|
RRun()
|
|
| Method Summary | |
|---|---|
void |
addText(java.lang.String text)
|
void |
execute()
Runs the code |
void |
setCode(java.lang.String code)
|
| Methods inherited from class org.rproject.ant.RTask |
|---|
fails, flush, run_, run, send, setFailonerror |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String code
| Constructor Detail |
|---|
public RRun()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void addText(java.lang.String text)
text - set the code to be run by reading the content of the
<r-run> tagpublic void setCode(java.lang.String code)
code - set the code to be run by reading the code attribute of the
<r-run> tag
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||