📅 2023-10-17 — Session: Resolved R package installation issues in VS Code

🕒 22:15–23:40
🏷️ Labels: R, Vs Code, Installation, Troubleshooting, R Markdown
📂 Project: Dev
⭐ Priority: MEDIUM

Session Goal

The goal of this session was to address and resolve various installation issues encountered with R packages, particularly focusing on troubleshooting and configuration within Visual Studio Code.

Key Activities

  • Provided step-by-step guides for resolving installation issues with several R packages including cem, geojsonR, geojsonio, PanelMatch, and glmnet.
  • Addressed dependency issues and provided solutions for missing libraries such as BLAS, LAPACK, protolite, and sf on Debian-based systems.
  • Offered troubleshooting steps for common R package installation problems, including lock file issues and dependency management.
  • Detailed the setup and configuration of R and R Markdown in Visual Studio Code, including the installation of necessary extensions like languageserver.

Achievements

  • Successfully outlined solutions for resolving R package installation issues, enhancing the development environment in Visual Studio Code.
  • Improved understanding of dependency management and troubleshooting techniques for R packages.

Pending Tasks

  • Further testing of the R Markdown configuration in VS Code to ensure seamless integration and execution of code chunks.
  • Continuous monitoring of package updates and dependency changes that may affect future installations.