public void setFrameOutput(String varName, FrameBlock outputData) throws DMLRuntimeException {
    FrameObject fo = getFrameObject(varName);
    if (outputData.getNumColumns() > 0 && outputData.getSchema() != null)
      fo.setValueType(outputData.getSchema()[0]);
    fo.acquireModify(outputData);
    fo.release();

    setVariable(varName, fo);
  }
 public void setMatrixOutput(String varName, MatrixBlock outputData) throws DMLRuntimeException {
   MatrixObject mo = getMatrixObject(varName);
   mo.acquireModify(outputData);
   mo.release();
   setVariable(varName, mo);
 }
 public void setScalarOutput(String varName, ScalarObject so) throws DMLRuntimeException {
   setVariable(varName, so);
 }