## ru.biosoft.plugins.jri
Class RFacade

    java.lang.Object
      ru.biosoft.plugins.jri.RFacade

All Implemented Interfaces:
  ru.biosoft.plugins.javascript.JSEnvironmentProvider

    public class RFacade

extends java.lang.Object
implements ru.biosoft.plugins.javascript.JSEnvironmentProvider

Base JavaScript object to work with R

Constructor Summary
`RFacade()`

Method Summary
`RObject` | `connect(java.lang.String host, java.lang.String port)` Returns remote version of RObject
`ru.biosoft.plugins.javascript.JSEnvironment` | `getEnvironment()` Returns JavaScript environment
`RObject` | `local()` Returns local version of RObject
`RObject` | `rserve()` Returns RServe version of RObject
`void` | `setScopeObject(org.mozilla.javascript.Scriptable scope)` Set scope for JavaScript object

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RFacade

    public RFacade()

Method Detail

### local

    public RObject local()

  Returns local version of RObject

### rserve

    public RObject rserve()

  Returns RServe version of RObject

### connect

    public RObject connect(java.lang.String host,
                           java.lang.String port)

  Returns remote version of RObject

### getEnvironment

    public ru.biosoft.plugins.javascript.JSEnvironment getEnvironment()

  Description copied from interface: `ru.biosoft.plugins.javascript.JSEnvironmentProvider`
  Returns JavaScript environment

  Specified by:
    `getEnvironment` in interface `ru.biosoft.plugins.javascript.JSEnvironmentProvider`

### setScopeObject

    public void setScopeObject(org.mozilla.javascript.Scriptable scope)

  Description copied from interface: `ru.biosoft.plugins.javascript.JSEnvironmentProvider`
  Set scope for JavaScript object

  Specified by:
    `setScopeObject` in interface `ru.biosoft.plugins.javascript.JSEnvironmentProvider`

Copyright © 2001-2009 Biosof.Ru. All Rights Reserved.