Skip to content
Prev 66947 / 398506 Next

RDCOMServer for R 2.0.1 + Windows ?

Has anyone managed to get this working?

Here's what I did:

I got the binary build for R2.0.1 from the Omegahat
download page, and made a small change to
the registerClassID function ( to make it use
the right path to RDCOMServer.dll). 
Then I tried to replicate the simple TTest example
from the same web site. The COM class definition
and registration worked fine for me.

To test this, I tried to create the COM object using
COMCreate ( from the RDCOMClient package ):
COMCreate('R.TTest') -- this causes an error saying
"Error in the DLL".
In other words it is able to get the DLL path 
correctly via the Win registry, but is then having
a problem with the DLL.

If anyone has a working Windows build for R2.0.1,
please let me know.

Prasad