Skip to content

collecting the dependencies necessary for using ggplotly's client side

License

Notifications You must be signed in to change notification settings

scicloj/ggplotly-deps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ggplotly-deps

This repo collects the dependencies of an HTML plot generated by ggplotly.

It is used as a shortcut for creating HTML pages that use ggplotly's client side.

Eventually, we should have a more idiomatic integration with R's htmlwidgets way of managing dependencies. For our current proofs-of-concept, the current approach is good enough.

The dependencies were collected from the HTML page generated by the following R commands:

> library(ggplot2)

> library(plotly)

> sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=en_IL       LC_NUMERIC=C         LC_TIME=en_IL       
 [4] LC_COLLATE=en_IL     LC_MONETARY=en_IL    LC_MESSAGES=en_IL   
 [7] LC_PAPER=en_IL       LC_NAME=C            LC_ADDRESS=C        
[10] LC_TELEPHONE=C       LC_MEASUREMENT=en_IL LC_IDENTIFICATION=C 

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] plotly_4.10.4.9000 ggplot2_3.4.1     

loaded via a namespace (and not attached):
 [1] magrittr_2.0.3    tidyselect_1.2.0  munsell_0.5.0     viridisLite_0.4.1
 [5] colorspace_2.1-0  R6_2.5.1          rlang_1.1.0       fastmap_1.1.1    
 [9] fansi_1.0.4       httr_1.4.5        dplyr_1.1.1       tools_4.1.2      
[13] grid_4.1.2        data.table_1.14.8 gtable_0.3.3      utf8_1.2.3       
[17] cli_3.6.1         withr_2.5.0       htmltools_0.5.5   lazyeval_0.2.2   
[21] digest_0.6.31     tibble_3.2.1      lifecycle_1.0.3   tidyr_1.3.0      
[25] purrr_1.0.1       htmlwidgets_1.6.2 vctrs_0.6.5       glue_1.6.2       
[29] compiler_4.1.2    pillar_1.9.0      generics_0.1.3    scales_1.2.1     
[33] jsonlite_1.8.4    pkgconfig_2.0.3  

> ggplotly(ggplot(mtcars, aes(wt, mpg)) + geom_point())

License

Copyright © 2025 Scicloj

MIT License

About

collecting the dependencies necessary for using ggplotly's client side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published