Skip to content

Query regarding linking R with Matlab

1 message · Henrik Bengtsson

#
Hi,

It might be that R can't find Matlab; then you have to specify option
'matlab', see help(Matlab).  Try also a different port. Try to add a
line setVerbose(matlab, -2) to get more detailed output what is going
on;

matlab <- Matlab(host="localhost", port=9998)
setVerbose(matlab, -2)
if (!open(matlab))
  throw("Matlab server is not running: waited 30 seconds.")

If you can't get it to work, send the output of the above.

/Henrik
On 12/27/06, Bhanu Kalyan.K <kalyansikha at yahoo.com> wrote: