rbokeh
rbokeh copied to clipboard
exported html file with rbokeh2html generates "Uncaught Error: unsatisfiable constraint"
Hi there,
I was trying to use
p <- figure() %>% ly_points(1:10)
rbokeh2html(p, file = "temp.html")
but when I open up the generated file in the browser I get the error "Uncaught Error: unsatisfiable constraint". My generated file is here.
sessionInfo() R version 3.3.0 (2016-05-03) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.5 (El Capitan)
locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] rbokeh_0.4.2
loaded via a namespace (and not attached): [1] Rcpp_0.12.5 knitr_1.13 magrittr_1.5 maps_3.1.0 munsell_0.4.3 colorspace_1.2-6 lattice_0.20-33
[8] R6_2.1.2 stringr_1.0.0 httr_1.1.0 plyr_1.8.3 dplyr_0.4.3 tools_3.3.0 parallel_3.3.0
[15] grid_3.3.0 gtable_0.2.0 DBI_0.4-1 gistr_0.3.6 htmltools_0.3.5 lazyeval_0.1.10 assertthat_0.1
[22] digest_0.6.9 pryr_0.1.2 ggplot2_2.1.0 codetools_0.2-14 htmlwidgets_0.6.1 rmarkdown_0.9.6 stringi_1.1.1
[29] scales_0.4.0 jsonlite_0.9.20 hexbin_1.27.1
Interesting. I cannot reproduce with the following setup:
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.6 (El Capitan)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rbokeh_0.4.2 inline_0.3.14 colorout_1.1-0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.6 knitr_1.13 magrittr_1.5 maps_3.1.1
[5] devtools_1.12.0 munsell_0.4.3 lattice_0.20-33 colorspace_1.2-6
[9] R6_2.1.2 stringr_1.0.0 httr_1.2.1 plyr_1.8.4
[13] dplyr_0.5.0 tools_3.3.1 grid_3.3.1 gtable_0.2.0
[17] DBI_0.4-1 gistr_0.3.6 withr_1.0.2 htmltools_0.3.5
[21] lazyeval_0.2.0 digest_0.6.10 assertthat_0.1 tibble_1.1
[25] pryr_0.1.2 ggplot2_2.1.0 codetools_0.2-14 htmlwidgets_0.7
[29] evaluate_0.9 memoise_1.0.0 rmarkdown_1.0 stringi_1.1.1
[33] scales_0.4.0 jsonlite_1.0 hexbin_1.27.1
FYI, reproduced with the following setup:
sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rbokeh_0.4.2
loaded via a namespace (and not attached):
[1] assertthat_0.1 codetools_0.2-14 colorspace_1.2-6 DBI_0.4-1 digest_0.6.9
[6] dplyr_0.5.0 evaluate_0.9 ggplot2_2.1.0 gistr_0.3.6 grid_3.1.2
[11] gtable_0.2.0 hexbin_1.27.1 htmltools_0.3.5 htmlwidgets_0.6 httr_1.1.0
[16] jsonlite_0.9.19 knitr_1.13 lattice_0.20-33 lazyeval_0.1.10 magrittr_1.5
[21] maps_3.1.0 munsell_0.4.3 plyr_1.8.3 pryr_0.1.2 R6_2.1.2
[26] Rcpp_0.12.4 rmarkdown_0.9.6.14 rsconnect_0.4.3 scales_0.4.0 stringi_1.0-1
[31] stringr_1.0.0 tibble_1.1 tools_3.1.2
html file opened with Opera/IE/Firefox/Chrome.
Here is the log from firefox.