π 2023-04-16 β Session: Configured R environment in Visual Studio Code
π 22:55β23:20
π·οΈ Labels: R, Vs Code, R Markdown, Configuration, Data Wrangling
π Project: Dev
β Priority: MEDIUM
Session Goal
The goal of this session was to set up and configure the R programming environment within Visual Studio Code for efficient data manipulation and analysis using R and R Markdown.
Key Activities
- Developed an R script for data wrangling using the tidyverse package, focusing on reading CSV files, extracting variable roots with regex, selecting relevant columns, and saving filtered datasets.
- Provided a guide on creating and running R notebooks in VS Code, including the installation of the R extension and exporting notebooks as HTML.
- Configured the R executable path in VS Codeβs
settings.json
to resolve configuration errors. - Installed R and R Markdown extensions in Visual Studio Code to enhance R programming capabilities and troubleshoot display issues with Rmd files.
- Explained how to find the R installation path using terminal commands.
Achievements
- Successfully configured the R environment in Visual Studio Code, enabling the creation and execution of R notebooks and scripts.
- Resolved configuration issues related to the R path and R Markdown file display in VS Code.
Pending Tasks
- Further testing of the R environment setup to ensure stability and performance.
- Exploration of additional VS Code extensions that may enhance R programming workflows.