πŸ“… 2023-09-23 β€” Session: Configured R and R Markdown in Visual Studio Code

πŸ•’ 23:15–00:05
🏷️ Labels: R, R Markdown, Visual Studio Code, Setup, Troubleshooting
πŸ“‚ Project: Dev
⭐ Priority: MEDIUM

Session Goal

The primary objective of this session was to set up R and R Markdown within Visual Studio Code, ensuring a smooth development environment for R programming.

Key Activities

  • Installation: Installed R, Rtools, and Visual Studio Code, along with necessary extensions to support R and R Markdown.
  • Project Structure: Analyzed and suggested reorganization of project file structures to enhance clarity and usability.
  • Troubleshooting: Addressed issues with cell rendering in .Rmd files and knitting problems in R Markdown, providing detailed troubleshooting steps and extension recommendations.
  • Package Management: Installed essential R packages such as β€˜jsonlite’ and β€˜rlang’, and resolved library permission issues by suggesting solutions like using a personal library or administrative rights.

Achievements

  • Successfully set up a functional R development environment in Visual Studio Code.
  • Improved project organization and resolved common R Markdown issues.

Pending Tasks

  • Further testing of the setup in different project scenarios to ensure robustness.
  • Continuous monitoring for any new issues or updates in extensions.