Examples of asStrings()


Examples of org.rosuda.REngine.REXP.asStrings()

        // Script to get R - output
        evalValue = evalScript(rConnection, name, showWarnings);       
//        System.out.println(evalValue);
        if (evalValue.isVector()){
          if (evalValue instanceof REXPString)
            kClusteringResult[i] = new RResult(name, evalValue.asStrings());
          else if (evalValue instanceof REXPInteger)
            kClusteringResult[i] = new RResult(name, evalValue.asIntegers());
          else if (evalValue instanceof REXPDouble){
            if (evalValue.dim() == null)
              kClusteringResult[i] = new RResult(name, evalValue.asDoubles());
View Full Code Here

Examples of org.rosuda.REngine.REXP.asStrings()

        // Script to get R - output
        evalValue = evalScript(rConnection, name, showWarnings);       
//        System.out.println(evalValue);
        if (evalValue.isVector()){
          if (evalValue instanceof REXPString)
            mdResult[i] = new RResult(name, evalValue.asStrings());
          else if (evalValue instanceof REXPInteger)
            mdResult[i] = new RResult(name, evalValue.asIntegers());
          else if (evalValue instanceof REXPDouble){
            if (evalValue.dim() == null)
              mdResult[i] = new RResult(name, evalValue.asDoubles());
View Full Code Here

Examples of org.rosuda.REngine.RFactor.asStrings()

          REXP obj = (REXP)listOfREXP[i];
          Object javaObj =  rexp2javaObj(obj);
          if (javaObj instanceof RFactor)
          {
            RFactor factorjavaObj = (RFactor)javaObj;
            String[] levels = factorjavaObj.asStrings();
            listOfREXP[i] = levels;
          }
          else
          {
            listOfREXP[i] =  javaObj;
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.