Interface RBackend

All Superinterfaces:
com.eco.bio7.rbridge.REvaluator

public interface RBackend extends com.eco.bio7.rbridge.REvaluator
The connection of Bio7 to R: embedded R, in the process of Bio7. Evaluations return an RValue (plugin com.eco.bio7.rffm), errors of R are an RException.
See Also:
  • Field Summary

    Fields inherited from interface com.eco.bio7.rbridge.REvaluator

    EDITOR_TIMEOUT_MS
  • Method Summary

    Modifier and Type
    Method
    Description
    default long
    A counter which changes after every evaluation of R, or -1 if not available.
    boolean
    Closes the connection (embedded R keeps running).
    boolean
     
    void
    Does nothing for embedded R (it runs until Bio7 ends).

    Methods inherited from interface com.eco.bio7.rbridge.REvaluator

    assign, assign, assign, assign, assign, assign, eval, isEmbedded, voidEval, withTimeout
  • Method Details

    • close

      boolean close()
      Closes the connection (embedded R keeps running).
    • shutdown

      void shutdown() throws RException
      Does nothing for embedded R (it runs until Bio7 ends).
      Throws:
      RException
    • isConnected

      boolean isConnected()
    • activity

      default long activity()
      A counter which changes after every evaluation of R, or -1 if not available.