问题
I am testing RBloomberg to access the Bloomberg API. Upon creating a connection using
> conn <- blpConnect()
I receive a pop-up error message stating that "The program can't start because XLCall32.dll is missing from your computer."
However, XLCall32 is in the proper Office subdirectory.
The error is actually generated by the assignment within the function
conn <- COMCreate("Bloomberg.Data.1")
This is a warning message: if one clicks OK, the API seems to work fine.
Has anyone encountered this problem? Is there an easy fix? Alternatively, is it possible to suppress the pop up window in R?
回答1:
If possible can you upgrade to the Java-based version available from http://findata.org/rbloomberg
The COM-based version is no longer being developed (I will be removing it from CRAN soon).
回答2:
Try system("path")
to see if that directory is known to R.
来源:https://stackoverflow.com/questions/5185213/error-message-using-rbloomberg