On 28/10/2017 8:59 AM, Morkus wrote:
Hey Duncan,
Hard to debug? That's an understatement. Eyes bleeding
In any case, I tried all your suggestions. To get "integer" for the
final column, I had to change the code to get integers instead of strings.
The last column in iris is actually a fac
Hey Duncan,
Hard to debug? That's an understatement. Eyes bleeding
In any case, I tried all your suggestions. To get "integer" for the final
column, I had to change the code to get integers instead of strings.
double[] d1 = ((REXPVector) ((RList) tableRead).get(0)).asDoubles();
double[] d2
On 28/10/2017 7:12 AM, Morkus wrote:
Thanks Duncan. Awesome ideas!
I think we're getting closer!
I tried what you suggested and got a possibly better error...
.
.
.
rConnection.assign("boxMVariable", myDf);
*String resultBV *= *"str(boxMVariable)"*; *// your suggestion.*
*RESULTING ERROR:*
*
Thanks Duncan. Awesome ideas!
I think we're getting closer!
I tried what you suggested and got a possibly better error...
.
.
.
rConnection.assign("boxMVariable", myDf);
String resultBV = "str(boxMVariable)"; // your suggestion.
RESULTING ERROR:
Error in format.default(nam.ob, width = max(nc
On 28/10/2017 6:26 AM, Morkus wrote:
I'm not sure what you mean. Could you please be more specific?
You were trying to eval an expression that you constructed in Java. I
was suggesting that before you eval it, you print it.
If I print the string, I get: *boxM(boxMVariable[, -5], boxMVariabl
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 bo
Hi Bill,
Thanks for catching that. However, the problem remains.
If I use R debugging code with the rResponseObject below, I get a maybe better
error, but it still doesn't make sense.
This is the actual error R is throwing:
Error in `[.data.frame`(boxMVariable, , -5) : undefined columns select