Accessing the return value in the form of an array of R using RServe on Java -


previously, beginner in language r. have function r returns array of double.

here's snippet of r code return value.

enter image description here

the output of function is:

enter image description here

here's snippet of java code.

output = connection.eval("neuralnet10()").asdouble();

i want access value in java using rserve. need help, appreciate if willing thank you.

don't post pictures of code, post actual code.

everything coming rserve array can access using .asdoubles() method - note 's'


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -