R Weekly 2024-W06 - Teaching, renv, parquet vs. RDS
This week’s release was curated by Ryo Nakagawara, with help from the R Weekly team members and contributors.
Highlight
Insights
- Reproducible data science with Nix, part 9 – rix is looking for testers!
- Things that can go wrong when using renv
- 2024 RUGS Program Progress: Reviewing Grants and Empowering R Communities
- The source of the cake dataset
- Teaching you - teaching me
- rOpenSci News Digest, January 2024
- New release and governance documents for {data.table}
R in the Real World
- R for the Real World: Counting those Business Days like a Pro!
- WhatsR – An R-Package for processing exported WhatsApp Chat Logs
R in Organizations
- Webinar for R and Databases! How Oracle Machine Learning for R Helps with ML and Massive Datasets
- Natalia Andriychuk on RUGs, Pfizer R Center of Excellence, and Open Source Projects: Fostering R Communities Inside and Out
Resources
New Packages
CRAN
- {secretbase} 0.2.0: Cryptographic Hash and Extendable-Output Functions
- {ggfacto} 0.2.3: Graphs for Correspondence Analysis
- {CodelistGenerator} 2.2.0: Identify Relevant Clinical Codes and Evaluate Their Use
- {unigd} 0.1.0: Universal Graphics Device
- {SNVLFDR} 1.0.1: Empirical Bayes Single Nucleotide Variant Calling
- {CDCPLACES} 1.1.4: Access the ‘CDC PLACES’ API
- {lightparser} 0.1.0: From ‘Rmarkdown’ and ‘Quarto’ Files to Tibble and Back
- {dtComb} 1.0.2: Statistical Combination of Diagnostic Tests
- {causalBatch} 1.0: Causal Batch Effects
- {texPreview} 2.1.0: Compile and Preview Snippets of ‘LaTeX’
- {bSi} 1.0.0: Modeling and Computing Biogenic Silica (‘bSi’) from Inland and Pelagic Sediments
- {nn2poly} 0.1.1: Neural Network Weights Transformation into Polynomial Coefficients
- {kisopenapi} 0.0.2: Korea Investment & Securities (KIS) Open Trading API
- {goweragreement} 1.0: Bayesian Gower Agreement for Categorical Data
- {ggfields} 0.0.3: Add Vector Field Layers to Ggplots
Updated Packages
- {data.table} 1.15.0: Extension of ‘data.frame’ - diffify
- {DiagrammeR} 1.0.11: Graph/Network Visualization - diffify
- {ympes} 1.0.0: Collection of Helper Functions - diffify
- {qcpm} 0.3: Quantile Composite Path Modeling - diffify
- {freesurferformats} 0.1.18: Read and Write ‘FreeSurfer’ Neuroimaging File Formats - diffify
- {rllama} 0.4.4: Access and Analyze Data from ‘DeFiLlama’ - diffify
- {pkgfilecache} 0.1.5: Download and Manage Optional Package Data - diffify
- {gasmodel} 0.6.0: Generalized Autoregressive Score Models - diffify
- {devEMF} 4.4-2: EMF Graphics Output Device - diffify
- {aws} 2.5-4: Adaptive Weights Smoothing - diffify
- {greta} 0.4.4: Simple and Scalable Statistical Modelling in R - diffify
- {CVXR} 1.0-12: Disciplined Convex Optimization - diffify
- {RQuantLib} 0.4.21: R Interface to the ‘QuantLib’ Library - diffify
- {rapsimng} 0.4.4: APSIM Next Generation - diffify
- {fGarch} 4032.91: Rmetrics - Autoregressive Conditional Heteroskedastic Modelling - diffify
- {dittoViz} 1.0.1: User Friendly Data Visualization - diffify
- {tidygraph} 1.3.1: A Tidy API for Graph Manipulation - diffify
- {repana} 2.1.0: Repeatable Analysis in R - diffify
- {unrtf} 1.4.5: Extract Text from Rich Text Format (RTF) Documents - diffify
- {commonmark} 1.9.1: High Performance CommonMark and Github Markdown Rendering in R - diffify
Videos and Podcasts
- Listen to the R-Weekly Highlights Podcast
- How to Avoid These Common Mistakes with {ggplot2} - A Step-by-Step Tutorial
- How to Use Dropdown Menus in Tables With R - Step-By-Step Tutorial
- How to Create Maps With Patterns in ggplot2 - A Step-By-Step Tutorial
Tutorials
- Combining maps and patterns with {ggplot2}
- Interactive filters in tables with reactable
- 6 Common ggplot2 Mistakes
- Piping with {data.table}
- Parquet vs the RDS Format
- Remove Specific Row in R: How to & Examples with dplyr
- Playing with webr
- Extract raster values to points with bilinear interpolation
- Binary logistic regression in R
- Time Flies? Time Travels! Adding Days to Dates in R (Like a Pro)
- You tidyr::complete() me
- Combining multiple species distributions on one map with hexagons and points
R Project Updates
Updates from R Core:
R Contributor Office Hours, Thursday February 8: Europe/Middle East/Asia-Pacific Hour or Americas Hour
Join an online Office Hour at the time that suits you to:
- discuss how to get started contributing to R
- get help/feedback on contributions you are working on
- look at open bugs/work on translations together
Upcoming Events in 3 Months
Events in 3 Months:
-
February 8th, 2024: “High-productivity data frame operations with data.table” by Jan Gorecki at SevillaR (online registration)
-
(February 13th, 2024) Training Ground Guru: R Masterclass with Harsh Krishna
-
(February 21, 2024) Forecasting with Generalised Additive Models (GAMs) in R
Grants & Funding
Jobs
💼 Explore Jobs & Gigs Board on RStudio Community 💼
rtistry
Mount Fuji.#rayshader #plotter adventures, an #rstats tale pic.twitter.com/Mg49pKUtY1
— tterence on bsky (@researchremora) January 24, 2024
Inspired and made possible by @nrennie35, here's a typewriter elevation map of Japan. The characters to indicate increasing elevation are: 地, 低, 中, 高, and 峰.#ggplot2 adventures, an #rstats tale pic.twitter.com/fHFw1H8g2z
— tterence on bsky (@researchremora) January 26, 2024
Quotes of the Week
One of my favorite #rstats interactive mapping tricks: using the `|` operator in mapview to create a swipe map.
— Kyle Walker (@kyle_e_walker) January 25, 2024
Here - showing the results of the `erase_water()` function in the Seattle area! pic.twitter.com/sBf0ktZEx4
Restructuring your longitudinal data from long to wide OR wide to long format is a fairly painless process in #rstats, especially when you consistently name your variables using controlled vocabulary. 🌟
— Crystal Lewis (@Cghlewis) February 1, 2024
Full script here: https://t.co/aQBGKBmzI7 pic.twitter.com/IzU202FL7M
Say want you want about the #tidyverse, nothing beats its expressiveness! #RStats pic.twitter.com/nUA8fUV6wj
— Bruno Rodrigues (@[email protected]) (@brodriguesco) January 31, 2024