halo.data.biascorrection
Class RMethods

java.lang.Object
  extended by halo.data.biascorrection.RMethods

public class RMethods
extends java.lang.Object

Class for the writing of R scripts and running these from the code

Author:
Stefanie Kaufmann

Constructor Summary
RMethods()
           
 
Method Summary
 void addLineToScript(java.lang.String line)
          Write one line into the R script
 void endRScript()
          End the writing of the R script
 void runR()
          Start R with the previously written script
 void setPath(java.lang.String path)
          Define the installation path of R
 void startRScript(java.lang.String filename)
          Start to write the R script
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMethods

public RMethods()
Method Detail

runR

public void runR()
Start R with the previously written script


startRScript

public void startRScript(java.lang.String filename)
Start to write the R script

Parameters:
filename - The name of the script file

endRScript

public void endRScript()
End the writing of the R script


addLineToScript

public void addLineToScript(java.lang.String line)
Write one line into the R script

Parameters:
line - The line that will be written into the script

setPath

public void setPath(java.lang.String path)
Define the installation path of R

Parameters:
path - The path of the bin directory where R is installed