Class ExecuteRScript

java.lang.Object
com.eco.bio7.rbridge.ExecuteRScript

public class ExecuteRScript extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExecuteRScript(RScriptExecuterInterface executer, int progressSteps)
    Constructor to execute a job which calls the interface class of the given RScriptExecuterInterface instance.
    ExecuteRScript(RScriptExecuterInterface executer, int progressSteps, boolean listRObjects)
    Constructor to execute a job which calls the interface class of the given RScriptExecuterInterface instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    run(com.eco.bio7.rbridge.RBackendScript script, int progressSteps)
    Executes a script with the connection of Bio7 (embedded R) in a job, e.g., a lambda (RBackend r, IProgressMonitor monitor) -> { r.eval("..."); }.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExecuteRScript

      public ExecuteRScript(RScriptExecuterInterface executer, int progressSteps)
      Constructor to execute a job which calls the interface class of the given RScriptExecuterInterface instance.
      Parameters:
      executer - a RScriptExecuterInterface class
      progressSteps - steps as integer or 'IProgressMonitor.UNKNOWN' (which has value -1)
    • ExecuteRScript

      public ExecuteRScript(RScriptExecuterInterface executer, int progressSteps, boolean listRObjects)
      Constructor to execute a job which calls the interface class of the given RScriptExecuterInterface instance.
      Parameters:
      executer - a RScriptExecuterInterface class
      progressSteps - steps as integer or 'IProgressMonitor.UNKNOWN' (which has value -1)
      listRObjects - automatically list the R objects in the R-Shell view
  • Method Details

    • run

      public static ExecuteRScript run(com.eco.bio7.rbridge.RBackendScript script, int progressSteps)
      Executes a script with the connection of Bio7 (embedded R) in a job, e.g., a lambda (RBackend r, IProgressMonitor monitor) -> { r.eval("..."); }.
      Parameters:
      progressSteps - steps as integer or 'IProgressMonitor.UNKNOWN' (-1)