search for: rexpgenericvector

Displaying 9 results from an estimated 9 matches for "rexpgenericvector".

2009 Mar 19
4
Import R-output into Java
...odell <- ctree(...)"); REXP y = c.eval("nodes(modell,1)[[1]]$prediction"); ... }catch(Exception e){} When I try to get the whole text with REXP z = c.eval("nodes(modell,1)[[1]]"); System.out.println(z); I get something like org.rosuda.REngine.REXPGenericVector at 119c082+[10]named But I want the text which is printed in R. What can I do? Thanks, Max Once again: It`s clear to get the result in R but I don`t know hoe to get the R-output into Java (or into a file, i.e. .txt) -- View this message in context: http://www.nabble.com/Import-R-output-into-Ja...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...#39; argument (No idea what this means). For testing, I'm using the same standard IRIS dataset as the Box's M documentation shows in biotools: Examples data(iris) boxM(iris[, -5], iris[, 5]) ------- Now, in the debugger, the built values of myDf are these: myDf = {org.rosuda.REngine.REXPGenericVector at 562} "org.rosuda.REngine.REXPGenericVector at 17d99928+[5]? ? payload = {org.rosuda.REngine.RList at 566} size = 5 ? 0 = {org.rosuda.REngine.REXPDouble at 570} "org.rosuda.REngine.REXPDouble at 6fffcba5[150]" ? 1 = {org.rosuda.REngine.REXPDouble at 571} "org.rosuda.REngine....
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...the same standard IRIS dataset as the Box's M >> documentation shows in biotools: >> Examples >> data(iris) >> boxM(iris[, -5], iris[, 5]) >> ------- >> ** >> Now, in the debugger, the built values of myDf are these: >> myDf = {org.rosuda.REngine.REXPGenericVector at 562} >> "org.rosuda.REngine.REXPGenericVector at 17d99928+[5]? > >> ? payload = {org.rosuda.REngine.RList at 566} size = 5 >> ? 0 = {org.rosuda.REngine.REXPDouble at 570} >> "org.rosuda.REngine.REXPDouble at 6fffcba5[150]" >> ? 1 = {org.rosuda.REng...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...g the same standard IRIS dataset as the Box's M > documentation shows in biotools: > > Examples > > data(iris) > *boxM(iris[, -5], iris[, 5])* > > *-------* > ** > Now, in the debugger, the built values of myDf are these: > > *myDf* = {org.rosuda.REngine.REXPGenericVector at 562} > "org.rosuda.REngine.*REXPGenericVector*@17d99928+[5]? > > ? payload = {org.rosuda.REngine.*RList*@566} size = 5 > ? 0 = {org.rosuda.REngine.REXPDouble at 570} > "org.rosuda.REngine.*REXPDouble*@6fffcba5[150]" > ? 1 = {org.rosuda.REngine.REXPDouble at 5...
2014 Jul 21
0
Displaying database records returned from postgresql to R through Java
...code is : c.parseAndEval("try(source(\"scpt.R\"),silent=TRUE)"); res = c.parseAndEval("try(fnct1(), silent=TRUE)"); System.out.println("table names are:"+ res); When I am printing res above it is displaying `table names are:org.rosuda.REngine.REXPGenericVector@681a9515+[1]named` as output. When I do something like `.asString()` or inside the `System.out.println()` above then it throws error. How can I print or access each record returned by R to Java? *NOTE:* When I am running the same script file from R itself then R is displaying some 10 records but...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...Box's M >> documentation shows in biotools: >> Examples >> data(iris) >> /boxM(iris[, -5], iris[, 5])/ >> /-------/ >> ** >> Now, in the debugger, the built values of myDf are these: >> /myDf/ = {org.rosuda.REngine.REXPGenericVector at 562} >> "org.rosuda.REngine./REXPGenericVector/@17d99928+[5]? >> >> ? payload = {org.rosuda.REngine./RList/@566} size = 5 >> ? 0 = {org.rosuda.REngine.REXPDouble at 570} >> "org.rosuda.REngine./REXPDouble/@6fffcba5[150]" >> ?...
2017 Oct 29
2
Cannot Compute Box's M (Three Days Trying...)
...Box's M >>> documentation shows in biotools: >>> Examples >>> data(iris) >>> /boxM(iris[, -5], iris[, 5])/ >>> /-------/ >>> ** >>> Now, in the debugger, the built values of myDf are these: >>> /myDf/ = {org.rosuda.REngine.REXPGenericVector at 562} >>> "org.rosuda.REngine./REXPGenericVector/@17d99928+[5]? >>> ? payload = {org.rosuda.REngine./RList/@566} size = 5 >>> ? 0 = {org.rosuda.REngine.REXPDouble at 570} >>> "org.rosuda.REngine./REXPDouble/@6fffcba5[150]" >>> ? 1 = {org...
2017 Oct 29
0
Cannot Compute Box's M (Three Days Trying...)
...s: >> Examples >> data(iris) >> /boxM(iris[, -5], iris[, 5])/ >> /-------/ >> ** >> Now, in the debugger, the built values of myDf are these: >> /myDf/ = {org.rosuda.REngine.REXPGenericVector at 562} >> "org.rosuda.REngine./REXPGenericVector/@17d99928+[5]? >> ? payload = {org.rosuda.REngine./RList/@566} size = 5 >> ? 0 = {org.rosuda.REngine.REXPDouble at 570} >> "org.rosuda.REngine./REXPDouble/@6fffcba5[15...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
I'm not sure what you mean. Could you please be more specific? If I print the string, I get: boxM(boxMVariable[, -5], boxMVariable[, 5]) From this code: . . . // assign the data to a variable.rConnection.assign("boxMVariable", myDf); // create a string command with that variable name.String boxVariable = "boxM(boxMVariable[, -5], boxMVariable[, 5])";