Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Issue specification variable names in hexbin (rbokeh version 0.6.3) #230

Open
lcougnaud opened this issue Oct 5, 2018 · 1 comment
Open

Comments

@lcougnaud
Copy link

lcougnaud commented Oct 5, 2018

I encountered an issue when specifying field names with a specified dataset in ly_hexbin function with the version 0.6.3 of the package (installed to check the issue #216).

data(iris)
rbokeh::figure() %>% rbokeh::ly_hexbin(data = iris, x = "Sepal.Length", y = "Sepal.Width")

Error in r[i1] - r[-length(r):-(length(r) - lag + 1L)] :
non-numeric argument to binary operator

I haven't encountered this issue with the CRAN version of the package (0.5.0).
Please note that this works when the variables are directly specified as vectors:

data(iris)
rbokeh::figure() %>% rbokeh::ly_hexbin(x = iris[,1], y = iris[, 2])
@lcougnaud lcougnaud changed the title Issue hexbin (rbokeh version 0.6.3) Issue specification variable names in hexbin (rbokeh version 0.6.3) Oct 5, 2018
@hafen
Copy link
Collaborator

hafen commented Oct 5, 2018

Thanks for this report. This version of rbokeh is still experimental. The latest version that will be pushed to CRAN is what is currently available in the master branch of hafen/rbokeh.

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