rbokeh
rbokeh copied to clipboard
issue with colorRampPalette within ly_points
Greetings guys,
I am having troubles running this example code
I have no idea what seems to be the problem, any help please?
Your are running the dev version (0.6.3). Your code works fine with the CRAN version (0.5.0).
# install.packages("rbokeh")
library(rbokeh)
n <- nrow(cars)
ramp <- colorRampPalette(c("red","blue"))(n)
## rbokeh_0.5.0
figure() %>%
ly_points(cars, color = ramp, size = seq_len(n))