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

install Rblpapi 3.6.2 from source #295

Closed
Courvoisier13 opened this issue Nov 1, 2019 · 4 comments
Closed

install Rblpapi 3.6.2 from source #295

Courvoisier13 opened this issue Nov 1, 2019 · 4 comments

Comments

@Courvoisier13
Copy link

Courvoisier13 commented Nov 1, 2019

Hi I need to install Rblpapi 3.6.2 from source because I am using R3.6 and I can't install from binary. I need this because of the #281 issue.
I tried:

   packageurl <- "https://cran.r-project.org/src/contrib/Archive/Rblpapi/Rblpapi_0.3.6.tar.gz"
   install.packages(packageurl, repos=NULL, type="source")

but it gave the following error:

   sh: curl: command not found
   mv: cannot stat 'blpHeaders.tar.gz': No such file or directory
   tar (child): ../blp/win/i386/blpHeaders.tar.gz: Cannot open: No such file or directory
   tar (child): Error is not recoverable: exiting now
   tar: Child returned status 2
   tar: Error is not recoverable: exiting now
   make: *** [Makevars.win:46: blpLibrary] Error 2
   ERROR: compilation failed for package 'Rblpapi'
   * removing 'D:/libraries/R/libraries-3.6.1/Rblpapi'

I downloaded the https://github.com/Rblp/Rblpapi/archive/0.3.6.tar.gz file and tried to build and found that the folder ../blp/win/ only has an x64 folder that one is empty.

What should I complete in this folder in order to be able to build the package?

thanks

@eddelbuettel
Copy link
Member

Install curl as the error message says.

Also consider learning markdown formatting to make your answers more easily readable. There is a link in every edit box.

@eddelbuettel
Copy link
Member

What should I complete in this folder in order to be able to build the package?

It is all open source. You can read every command, step by step. Start with configure as R does.

@Courvoisier13
Copy link
Author

I am using an older version of chrome :( and can't update it. I can't edit and I can't or insert "code" unfortunately. it's very annoying apologies.

so I need cURL from https://curl.haxx.se/download.html?

Also I am under windows. are the path in the configure the same ?

@eddelbuettel
Copy link
Member

I am using an older version of chrome :( and can't update it. I can't edit and I can't or insert "code" unfortunately. it's very annoying apologies.

Entirely wrong but I don't have the time to teach you all of this.

Also consider googling "how to install curl on Windows". Used by hundreds of millions of people. There are binaries.

Please do your homework, we are all busy. The package obviously builds at CRAN for a variety of systems including yours as shown here: https://cloud.r-project.org/web/checks/check_results_Rblpapi.html

@Rblp Rblp deleted a comment from entropy43 Nov 2, 2019
@Rblp Rblp locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants