Friday, 15 April 2011

r - OpenCPU Functions -


) Created a function that takes right / wrong and gives one of the two stars in the form of the result.

I managed to run a web service (in single-user mode, computer). However, when I try to get the web service through posting, the return value is not of the function, but instead there is a bunch of URLs:

  / ocpu / Tmp / x038e60b267 / r / .val / ocpu / tmp / x038e60b267 / stdout / ocpu / tmp / x038e60b267 / source / ocpu / tmp / x038e60b267 / console / ocpu / tmp / x038e60b267 / info / ocpu / tmp / x038e60b267 / file / description  

The first URL will return the result of my function call, which is good. But there is no way to get the return value from a post to be the result of a function call rather than a URL than a post?

I'm sure I'm seeing something clear here.

This was trivial if you attach the "/ json" at the end of the URL, Will return as.


No comments:

Post a Comment