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

fix download.file call for OSX build #109

Merged
merged 1 commit into from Dec 7, 2015
Merged

Conversation

@martinbel
Copy link
Contributor

@martinbel martinbel commented Dec 7, 2015

added method='libcurl' in the download.file as it wasn't working.

added method='libcurl' in the download.file as it wasn't working.
@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented Dec 7, 2015

Thank you! You may be our first OS X user!

eddelbuettel added a commit that referenced this pull request Dec 7, 2015
fix download.file call for OSX build
@eddelbuettel eddelbuettel merged commit 9387a44 into Rblp:master Dec 7, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@martinbel
Copy link
Contributor Author

@martinbel martinbel commented Dec 8, 2015

No problem, it was easy to fix the error. I actually wasn't able to connect after installing the package. Any suggestions?

> library(Rblpapi)
> con <- blpConnect() 

08DEC2015_02:21:26.305 71785:4342456320 ERROR blpapi_platformtransporttcp.cpp:671 blpapi.session.transporttcp.{1}.<localhost:8194> Connection failed 

08DEC2015_02:21:26.305 71785:4342456320 WARN blpapi_platformcontroller.cpp:371 blpapi.session.platformcontroller.{1} Platform: 0 failed 1 consecutive connect attempts, stopped trying to reconnect. 
@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented Dec 8, 2015

I presume you did set a user, password and host as options(). Even then, connection sometimes fails. To monitor this I fetch hourly data via getBars() once an hour. This often fails in the evening; I sometimes also have an error on fresh session.

If your id is valid with Bloomberg, you are logged at a Bloomberg terminal and connect to that terminal this should work.

@wmorgan85
Copy link
Contributor

@wmorgan85 wmorgan85 commented Dec 8, 2015

You won't be able to use Bloomberg via OS X unless you are using Server
API. Desktop API requires local installation of the Bloomberg software and
this is only on Windows. See http://www.bloomberglabs.com/api/libraries/ for
details.

On Tue, 8 Dec 2015 at 06:29 Dirk Eddelbuettel notifications@github.com
wrote:

I presume you did set a user, password and host as options(). Even then,
connection sometimes fails. To monitor this I fetch hourly data via
getBars() once an hour. This often fails in the evening; I sometimes also
have an error on fresh session.

If your id is valid with Bloomberg this should work.


Reply to this email directly or view it on GitHub
#109 (comment).

@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented Dec 8, 2015

Some of us had luck with Windows in a VM ...

@wmorgan85
Copy link
Contributor

@wmorgan85 wmorgan85 commented Dec 8, 2015

Yes, that's the best way when on OS X. I personally use Parallels but it's
up to your personal preference.

On Tue, 8 Dec 2015 at 09:28 Dirk Eddelbuettel notifications@github.com
wrote:

Some of us had luck with Windows in a VM ...


Reply to this email directly or view it on GitHub
#109 (comment).

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

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.