I am trying to use R functions from my MATLAB code using a DCOM server.
I am working under Windows XP.

While I mange to run basic functions and run them using scripts, when I
try a more complicated set of functions I fail.

I am trying to perform survival analysis, using Surv 

Surv(recruTime,recur)

 

Surv creates a somewhat complex output and I get the response

Problem evaluating command source(
"s:\\R&D\\matlab\\repository\\personalfolders\\moshe\\colon\\rcut.r").

Invoke Error, Dispatch Exception: Object is static; operation not
allowed 

 

I tried to get around this by using a script, but it doesn't work. I do
not actually want to transfer the Surv output back to MATLAB, but rather
allow R to plot some graphs, actually Schoenfeld residuals, which works
fine within R, but I can't work out if R can be instructed to perform
this analysis by MATLAB

Does anyone know how?

Thanks!


	[[alternative HTML version deleted]]

