Re: [Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-25 Thread J. Miguel Marin

Hello,

I installed DbgView but I am afraid I do not understand anything... 
Just a list of running "events" API_... but it does not seem to be 
affected when I run matlab with R_handle.Init.

Sorry


J. Miguel Marin schrieb:

Hello,

the option with rcom does work if I open at the same time R while I 
am working with matlab.


But with the other option with R(D)COM, I obtain

R_handle=actxserver('StatConnectorSrv.StatConnector');
R_handle.Init('R');

??? Invoke Error, Dispatch Exception: No se puede convertir el objeto

As my windows is in spanish I traduce last phrase:
"No se puede convertir el objeto": Object cannot be converted.

I am afraid there is not any other message :-(


Could you please install and run DbgView and post the output (see the 
docs for R/Scilab (D)COM Server or just google for DbgView).


The last error code returned by the IStatConnector interface is also 
available via GetErrorCode/GetErrorText.


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






jm~

___

   J. Miguel Marin

http://www.est.uc3m.es/jmmarin

   Dep. of Statistics
University Carlos III of Madrid
   Spain (E.U.)
___


___
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


Re: [Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-25 Thread Thomas Baier

J. Miguel Marin schrieb:

Hello,

the option with rcom does work if I open at the same time R while I am 
working with matlab.


But with the other option with R(D)COM, I obtain

R_handle=actxserver('StatConnectorSrv.StatConnector');
R_handle.Init('R');

??? Invoke Error, Dispatch Exception: No se puede convertir el objeto

As my windows is in spanish I traduce last phrase:
"No se puede convertir el objeto": Object cannot be converted.

I am afraid there is not any other message :-(


Could you please install and run DbgView and post the output (see the 
docs for R/Scilab (D)COM Server or just google for DbgView).


The last error code returned by the IStatConnector interface is also 
available via GetErrorCode/GetErrorText.


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


Re: [Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-25 Thread J. Miguel Marin

Hello,

the option with rcom does work if I open at the same time R while I am 
working with matlab.


But with the other option with R(D)COM, I obtain

R_handle=actxserver('StatConnectorSrv.StatConnector');
R_handle.Init('R');

??? Invoke Error, Dispatch Exception: No se puede convertir el objeto

As my windows is in spanish I traduce last phrase:
"No se puede convertir el objeto": Object cannot be converted.

I am afraid there is not any other message :-(

Anyway, I can manage with the option with rcom. I suppose, as it is a 
beta version, my message contribute to develop this fine tool.


Best



J. Miguel Marin schrieb:

Hello colleagues,

I am afraid that matlab and R conection does not work now:


R_handle=actxserver('StatConnectorSrv.StatConnector');

R_handle.Init('R');


??? Invoke Error, Dispatch Exception


Which error code, please. Does DbgView tell us anything?



The same problem appears if I use rcom:


R_handle=actxserver('RCOMServerLib.StatConnector'); R_handle.Init('R');

??? Error using ==> feval
Server Creation Failed: Clase no registrada

Error in ==> actxserver at 87
   h=feval(['COM.' convertedProgID], 'server', machinename, interface);


Did you:

* install rscproxy
* install rcom (should automatically install rscproxy)
* load rcom and call comRegisterRegistry()

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






jm~

___

   J. Miguel Marin

http://www.est.uc3m.es/jmmarin

   Dep. of Statistics
University Carlos III of Madrid
   Spain (E.U.)
___


___
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


Re: [Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-24 Thread Thomas Baier

J. Miguel Marin schrieb:

Hello colleagues,

I am afraid that matlab and R conection does not work now:


R_handle=actxserver('StatConnectorSrv.StatConnector');

R_handle.Init('R');


??? Invoke Error, Dispatch Exception


Which error code, please. Does DbgView tell us anything?



The same problem appears if I use rcom:


R_handle=actxserver('RCOMServerLib.StatConnector'); R_handle.Init('R');

??? Error using ==> feval
Server Creation Failed: Clase no registrada

Error in ==> actxserver at 87
   h=feval(['COM.' convertedProgID], 'server', machinename, interface);


Did you:

* install rscproxy
* install rcom (should automatically install rscproxy)
* load rcom and call comRegisterRegistry()

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


[Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-24 Thread J. Miguel Marin

Hello colleagues,

I am afraid that matlab and R conection does not work now:


R_handle=actxserver('StatConnectorSrv.StatConnector');

R_handle.Init('R');


??? Invoke Error, Dispatch Exception


The same problem appears if I use rcom:


R_handle=actxserver('RCOMServerLib.StatConnector'); R_handle.Init('R');

??? Error using ==> feval
Server Creation Failed: Clase no registrada

Error in ==> actxserver at 87
   h=feval(['COM.' convertedProgID], 'server', machinename, interface);


Until version R-2.7.2 everything worked fine... :-)

Best


Friends,

as you already know, R 2.8.0 will not work with R/Scilab (D)COM 
Server 2.5 any more. The reason for this was a major rework of the 
components building the glue between the (D)COM Server and R.


The new version of R/Scilab (D)COM Server is available for testing. 
This version should work with all R versions beginning with R 2.7.0 
and Scilab 5.x.


Please also install the package rscproxy from CRAN as this will be 
the new glue between R/Scilab (D)COM Server and R.


As this is a beta version, please do not distribute or use on 
production machines. The final release is expected during the next 
two weeks.


RExcel is no longer part of R/Scilab (D)COM Server. Future versions 
of the installer will enable you to automatically download and update 
RExcel.


The download link is 
http://rcom.univie.ac.at/download/devel/R_Scilab_DCOM3.0-1B1beta.exe


Waiting for feedback,

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






jm~

___

   J. Miguel Marin

http://www.est.uc3m.es/jmmarin

   Dep. of Statistics
University Carlos III of Madrid
   Spain (E.U.)
___


___
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