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: Attempt to access value of element 'VOLUME'(type: 'Float64') as 'Int32' type #172

Closed
cestob opened this issue May 6, 2016 · 4 comments

Comments

@cestob
Copy link

cestob commented May 6, 2016

Running the example code verbatim from the bdh {Rblpapi} documentation
opt <- c("periodicitySelection"="MONTHLY")
Rblpapi::bdh("SPY US Equity", c("PX_LAST", "VOLUME"), start.date=Sys.Date()-31*6, options=opt)

I get the following error
Error: Attempt to access value of element 'VOLUME'(type: 'Float64') as 'Int32' type.

@johnlaing
Copy link
Contributor

What version are you using? Works fine for me.

@cestob
Copy link
Author

cestob commented May 6, 2016

R version [64-bit] C:\R\R-3.2.3
Rblpapi 0.3.3

@eddelbuettel
Copy link
Member

eddelbuettel commented May 6, 2016

Please use the ghrr drat repository for an updated (dev version) package including a Windows binary.

@eddelbuettel
Copy link
Member

Rblpapi 0.3.4 has been released so closing this.

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

3 participants