error message using RBloomberg

半腔热情 提交于 2019-12-25 03:11:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!