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.
the output of function is:
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
Post a Comment