๐Ÿ“… 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

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.