Examples of REXPList


Examples of org.rosuda.REngine.REXPList

    if (object instanceof Object[])
    {
      Object[] array = (Object[])object;
      if (array.length == 0)
      {
        return new REXPList(new RList());
      }
      else if (array[0] instanceof String)
      {
        String[] strings = ListUtils.copyStringArray(array, new String[array.length]);
        return new REXPString(strings);
View Full Code Here

Examples of org.rosuda.REngine.REXPList

        ret[j * nrow + i] = mat[i][j];
      }
    }
    RList rlist = new RList();
    rlist.put("dim", new REXPInteger(new int[] { nrow, ncol }));
    REXPList attrs = new REXPList(rlist);
    return new REXPDouble(ret, attrs);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.