J. Miguel Marin schrieb:
J. Miguel Marin schrieb:

I hoped before, that something like

sl<-comCreateObject("matlab.Application")

should work with SciLab (e.g. "SciLab.Application")

But as R> sl<-comCreateObject("STATCONNECTORSRV.StatConnector")
sl
<pointer: 0x0006fe34>
attr(,"class")
[1] "COMObject"
R> comInvoke(sl,"Init","SciLab")
NULL
R> x<-1:10
R> dim(x)<-c(2,5)
R> comInvoke(sl,"SetSymbol","x",x)
NULL
R> y<-comInvoke(sl,"Evaluate","x'")
R> y
NULL

I cannot understand why matlab is identified but the parameter "SciLab" is not, even when the Scilab's console is under execution.

I wonder whether this is related with the Registry of Windows, or the current version of SciLab (I use the latest version 5.01, just linked yesterday), or I have any problem with rcom, because I usually call R from MatLab with D(COM), but I have not tried in the opposite direction: matlab from R. Although, with comCreateObject("matlab.Application") the matlab console is openned so I assumed rcom worked fine.

Unfortunately Scilab 5.0.1 is not supported yet. We're working on that
issue. 4.x versions of Scilab work fine.

Talk to the Scilab people to help us support integration of Scilab into COM clients. To us, they did not show any interest in helping us, so we're on our own. And you can imagine, that motivation goes down, if you're left alone in this...

Thomas


_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to