Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: package or namespace load failed for ‘Rblpapi’ #300

Open
aveshenpillay opened this issue Feb 4, 2020 · 6 comments
Open

Error: package or namespace load failed for ‘Rblpapi’ #300

aveshenpillay opened this issue Feb 4, 2020 · 6 comments

Comments

@aveshenpillay
Copy link

Good day, I have an error when trying to install the Rblpapi package. I have only run two lines:

install.packages("Rblpapi")
library(Rblpapi)

My OSX installation is Catalina (10.15.3)

Screenshot 2020-02-04 at 23 08 07

@eddelbuettel
Copy link
Member

Any macOS users who could chime in?

@steveputman
Copy link

Looks like a similar issue to #189. Seems like the reference to libblpapi3_64.so is pointing to a path on a dev's local computer?

I got it to load by issuing the following command in terminal:

/Library/Fr/R/V/3.6/R/libr/Rb/libs ❯ install_name_tool -change /Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/Rblpapi/blp/libblpapi3_64.so /Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rblpapi/blp/libblpapi3_64.so Rblpapi.so

@eddelbuettel
Copy link
Member

Thanks for the follow-up! If you can think of a means to automate that or make it part of the macOS build let us know.

@steveputman
Copy link

@eddelbuettel It appears to be a CRAN issue. I forked this repo to see if I could come up with any tweaks to Makevars.in to address it, and when I installed from master before making any changes, I got a clean install and load.

@eddelbuettel
Copy link
Member

Thanks for the follow-up, much appreciated.

So let's keep it open as a reminder for people to build locally if need be. The macOS maintainer tends to be super-busy and doesn't always reply in time so I won't escalate this.

@danilosarti
Copy link

library(devtools)
install_github("Rblp/Rblpapi")
require("Rblpapi")

this solved the problem for me!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants