πŸ“… 2023-10-17 β€” Session: Resolved R package installation issues on Linux

πŸ•’ 21:15–22:00
🏷️ Labels: R, Tidyverse, Hmisc, Linux, Data Analysis, Rstudio
πŸ“‚ Project: Dev
⭐ Priority: MEDIUM

Session Goal

The session aimed to address and resolve installation issues related to R packages, specifically focusing on the β€˜tidyverse’ and β€˜Hmisc’ packages, and to provide a structured approach for data analysis documentation.

Key Activities

  • Tidyverse Installation: Resolved an installation error for the β€˜tidyverse’ package on Linux by addressing a missing system dependency, libcurl.
  • Hmisc Installation: Provided instructions for installing the β€˜Hmisc’ package in R, including resolving dependency issues by installing the gfortran compiler on Ubuntu.
  • Data Analysis Documentation: Developed a structured table of contents for a data analysis document using R Markdown, focusing on sections such as data preparation, transformation, and outcome processing.
  • R Script Structuring: Discussed best practices for organizing R scripts to enhance readability and maintainability.

Achievements

  • Successfully resolved installation issues for both the β€˜tidyverse’ and β€˜Hmisc’ packages on Linux systems.
  • Created a comprehensive table of contents template for data analysis documentation in R Markdown.
  • Enhanced understanding of R script structuring and R Markdown document preparation.

Pending Tasks

  • Further exploration of causal analysis using the PanelMatch package in R.
  • Implementation of custom keyboard shortcuts in RStudio for improved coding efficiency.