[R] r-package RDCOMClient
Duncan Temple Lang
duncan at wald.ucdavis.edu
Wed Oct 3 23:27:21 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Marcin Kopaczynski wrote:
> both versions work on my pc, but on the pc where i have bloomberg
> installed the things i described do not work.
Can you give us some details about which versions of R
you have, versions of RDCOMClient and rcom and also
what versions of Windows you are running on each of the
machines (indicating for which combination it works).
Otherwise, it is very difficult to guess what might be
> 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.
The two packages do similar things, but the representations
and internal code are quite different.
> any idea?
> 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.
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the R-help