Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-29 Thread Duncan Temple Lang
s issue for resolution for a few hundred > bucks? I'm at the point now where I probably need to just pay somebody to > get this crazy BoxM thing working! :( > > Thanks again, > > Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted > email. > > >

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-29 Thread Morkus via R-devel
omebody to get this crazy BoxM thing working! :( Thanks again, Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 29, 2017 7:45 AM > UTC Ti

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-29 Thread Duncan Murdoch
ling R from Java. But if you want to pass a parameter named "x" with value 123 from Java to R, why not just construct and evaluate the statement "x <- 123"? Duncan Murdoch Sent from ProtonMail <https://protonmail.com>, Swiss-based encrypted email. O

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-29 Thread Morkus via R-devel
an RScript, then it's not static and I could use it as a "function" to call for different values. Look forward to your reply. Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > ---- Original Message ---- > Subject: Re: [Rd] Cannot Compute

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Duncan Murdoch
s like a bad idea just because it's always easiest to do what everyone else does. I think it's more common to call Java from R than the reverse. Duncan Murdoch Sigh... Sent from ProtonMail <https://protonmail.com>, Swiss-based encrypted email. Original Mess

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Morkus via R-devel
t; double 5 -> integer Is this problem "debug-proof"? Does anyone out there actually use Java and R? Sigh... Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Thre

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Duncan Murdoch
hat variable name. /String boxVariable = "boxM(boxMVariable[, -5], boxMVariable[, 5])"; /System/./out/./println/(/boxVariable/);  // print the string? Not sure what is meant. Sorry if I didn't understand your suggestion. Look forward to hearing back from y

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Morkus via R-devel
f[150]” ► 4 = {org.rosuda.REngine.REXPString@574} "org.rosuda.REngine.REXPString@3ab39c39[150]” Does this help? Please let me know what else I can try. Thanks, Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > Original Message > Subject

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Duncan Murdoch
7;t understand your suggestion. Look forward to hearing back from you. Thanks, Sent from ProtonMail <https://protonmail.com>, Swiss-based encrypted email. ---- Original Message Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) Local Time: October 27, 2017 6:09

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Morkus via R-devel
ps://protonmail.com), Swiss-based encrypted email. > Original Message ---- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 27, 2017 6:09 PM > UTC Time: October 27, 2017 10:09 PM > From: murdoch.dun...@gmail.com > To: Morkus ,

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-28 Thread Morkus via R-devel
out.println("R Serve Eval Exception : " + rResponseObject.asString()); } Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 27, 2017 4:00 PM > UTC

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-27 Thread Duncan Murdoch
Just print the string you are asking to R to evaluate. It doesn't make any sense as an R expression. Fix that, and things will work. Duncan Murdoch On 27/10/2017 3:41 PM, Morkus via R-devel wrote: It can't be this hard, right? I really need a shove in the right direction here. Been spinning

Re: [Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-27 Thread William Dunlap via R-devel
Does it work if you supply the closing parenthesis on the call to boxM? The parser says the input is incomplete and a missing closing parenthesis would cause that error.. // create a string command with that variable name.String boxVariable = "boxM(boxMVariable [,-5], boxMVariable[,5]"; // try to

[Rd] Cannot Compute Box's M (Three Days Trying...)

2017-10-27 Thread Morkus via R-devel
It can't be this hard, right? I really need a shove in the right direction here. Been spinning wheels for three days. Cannot get past the errors. I'm doing something wrong, obviously, since I can easily compute the Box's M right there in RStudio But I don't see what is wrong below with the codi