Issue specification variable names in hexbin (rbokeh version 0.6.3)
lcougnaud opened this issue · 1 comments
lcougnaud commented
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])
hafen commented
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.