[R] r-package RDCOMClient
marcin.kopaczynski at soundinvest.net
Wed Oct 3 20:19:01 CEST 2007
both versions work on my pc, but on the pc where i have bloomberg
installed the things i described do not work. the rcom peckage works,
but comCreateObject creates an object which is somehow different from
what COMCreate creates. especially the Slot "ref": row is not present
anymore and so RBloomberg package functions do not work.
Gabor Grothendieck wrote:
>I have generally found that both RDCOMClient and rcom do work although
>around the time of new R versions one might be ready for it before the other
>so try both.
>On 10/3/07, Marcin Kopaczynski <marcin.kopaczynski at soundinvest.net> wrote:
>>i was trying to perform a function from the RDCOMClient package. to make
>>it short: i tried to run the example in ?.COM, namely
>>e <- COMCreate("Excel.Application")
>>books <- e[["Workbooks"]]
>>as soon as e[["Workbooks"]] is called, the RGUI crashes. debugging the
>>function .COM reveals that somehow the connection between R and the
>>external funcions does not work, because the crash happens when
>>.Call("R_Invoke", obj, as.character(name), .args, ......) is called.
>>however, in the function COMCreate the .statement Call("R_create", name,
>>PACKAGE = "RDCOMClient") works.
>>it doesnt work with the bloomberg connection, as well. maybe i have to
>>install some additional things?
>>thx in advance for your help,
>>R-help at r-project.org mailing list
>>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help