R for
Authoring!!

OOH Session #43…
…htmlwidgets

Open Office Hours
(September 17, 2024)

  • Recap session #42       ↔︎️
  • Focal issue(s):
  • Shared problem-solving

Recap of Session #42:

📈 dygraphs 📉

library(dygraphs)

Harris <- c(10,8,14,
          6,9,12,15,
          12,7,13)
Trump <- c(8,13,12,
          4,7,10,13,
          14,10,12)

debate <- ts(
      cbind(Harris,Trump),
      frequency=12,
      start=c(2023,1))

dygraph(debate)

Today:

⚙️⚙️ htmlwidgets ⚙️⚙️

plotly
leaflet
threejs
dygraphs

Session Info (September 17, 2024) Rendering:

R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

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

other attached packages:
 [1] threejs_0.3.3     igraph_1.4.2      lubridate_1.9.3   forcats_1.0.0    
 [5] stringr_1.5.1     dplyr_1.1.4       purrr_1.0.1       readr_2.1.5      
 [9] tidyr_1.3.1       tibble_3.2.1      ggplot2_3.5.1     tidyverse_2.0.0  
[13] leaflet_2.1.2     dygraphs_1.1.1.6  fontawesome_0.5.2

loaded via a namespace (and not attached):
 [1] reticulate_1.28         zoo_1.8-12              tidyselect_1.2.1       
 [4] xfun_0.42               lattice_0.20-45         leaflet.providers_1.9.0
 [7] colorspace_2.1-0        vctrs_0.6.5             generics_0.1.3         
[10] htmltools_0.5.7         base64enc_0.1-3         emo_0.0.0.9000         
[13] yaml_2.3.8              utf8_1.2.4              rlang_1.1.3            
[16] pillar_1.9.0            glue_1.6.2              withr_3.0.0            
[19] lifecycle_1.0.4         munsell_0.5.1           gtable_0.3.5           
[22] htmlwidgets_1.6.4       evaluate_0.23           knitr_1.45             
[25] tzdb_0.4.0              fastmap_1.1.1           crosstalk_1.2.0        
[28] fansi_1.0.6             xts_0.14.0              Rcpp_1.0.10            
[31] scales_1.3.0            jsonlite_1.8.8          hms_1.1.3              
[34] png_0.1-8               digest_0.6.31           stringi_1.7.12         
[37] grid_4.2.2              rprojroot_2.0.4         here_1.0.1             
[40] cli_3.6.0               tools_4.2.2             magrittr_2.0.3         
[43] crayon_1.5.2            pkgconfig_2.0.3         ellipsis_0.3.2         
[46] Matrix_1.5-4            timechange_0.3.0        assertthat_0.2.1       
[49] rmarkdown_2.26          rstudioapi_0.15.0       R6_2.5.1               
[52] compiler_4.2.2