I am trying to get Eikon COM Rsearch to work with R
I have some rather old code that I am trying to revive as it was at least partially working
I am using these libraries in R:
require(RDCOMClient) require(audio)
I have tried creating connection in two ways:
eikon = COMCreate("EikonDesktopDataAPI.EikonDesktopDataAPI")
(a la C# tutorial here)
eikon = COMCreate("EikonDesktopDataAPILib.EikonDesktopDataAPI")
(from my old code). Both do not work but errors are different
> eikon = COMCreate("EikonDesktopDataAPI.EikonDesktopDataAPI") Error: Invalid class string In addition: Warning message: In getCOMInstance(name, force = TRUE, silent = TRUE) : Couldn't get clsid from the string > eikon = COMCreate("EikonDesktopDataAPILib.EikonDesktopDataAPI") Error in COMCreate(guid, existing = FALSE) : Failed to create COM object: Class not registered
I also created a registry key ({89CB9AA2-9658-4D64-A86F-C6A4D89778BF}) for dex2.dll, as advised previously. Not sure if the key is the same still. Also, not sure if there is also a key one needs for rsearch.dll or rsearchagent.dll. Obviously, I have not gotten that far quite yet...