Chapter 13 Appendices

13.1 R session information

The R session information when compiling this book is shown below.

## R version 3.6.1 (2019-07-05)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Debian GNU/Linux 9 (stretch)
## 
## Matrix products: default
## BLAS/LAPACK: /usr/lib/libopenblasp-r0.2.19.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=C             
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] nycflights13_1.0.1  dplyr_0.8.3         sparklyr_1.0.5     
## [4] knitr_1.26          jhaddins_0.0.0.9000 magrittr_1.5       
## [7] highcharter_0.7.0  
## 
## loaded via a namespace (and not attached):
##  [1] zoo_1.8-6         tidyselect_0.2.5  xfun_0.11         forge_0.2.0      
##  [5] purrr_0.3.3       lattice_0.20-38   vctrs_0.2.0       generics_0.0.2   
##  [9] htmltools_0.4.0   yaml_2.2.0        base64enc_0.1-3   utf8_1.1.4       
## [13] rlang_0.4.2       pillar_1.4.2      withr_2.1.2       glue_1.3.1       
## [17] DBI_1.0.0         rappdirs_0.3.1    dbplyr_1.4.2      TTR_0.23-5       
## [21] lifecycle_0.1.0   quantmod_0.4-15   stringr_1.4.0     htmlwidgets_1.5.1
## [25] evaluate_0.14     parallel_3.6.1    curl_4.3          fansi_0.4.0      
## [29] broom_0.5.2       xts_0.11-2        r2d3_0.2.3        Rcpp_1.0.3       
## [33] openssl_1.4.1     backports_1.1.5   jsonlite_1.6      config_0.3       
## [37] askpass_1.1       digest_0.6.23     stringi_1.4.3     rlist_0.4.6.1    
## [41] bookdown_0.16     grid_3.6.1        rprojroot_1.3-2   cli_2.0.0        
## [45] tools_3.6.1       tibble_2.1.3      crayon_1.3.4      tidyr_1.0.0      
## [49] whisker_0.4       pkgconfig_2.0.3   zeallot_0.1.0     ellipsis_0.3.0   
## [53] data.table_1.12.8 lubridate_1.7.4   assertthat_0.2.1  rmarkdown_1.18   
## [57] httr_1.4.1        rstudioapi_0.10   R6_2.4.1          igraph_1.2.4.2   
## [61] nlme_3.1-140      compiler_3.6.1

13.2 Setup of Apache Arrow

It is worth noting that the implementation of Apache Arrow into R arrived on CRAN early August 2019, which means at the time of writing of the relevant chapter it was on CRAN about 3 weeks. The functionality also depends on the Arrow C++ library, so installation is a bit more difficult than with some other R packages.

Care should also be taken with regards to the capability of the C++ library, the arrow R package version and the version of sparklyr. We had good results with using the R package arrow version 0.15.1.1, sparklyr 1.0.5 and the 0.15.1 version of the C++ libraries. The aforementioned Docker image has both the C++ libraries and the R arrow package available for use.