Configured R environment in Visual Studio Code

  • Day: 2023-04-16
  • Time: 22:55 to 23:20
  • Project: Dev
  • Workspace: WP 2: Operational
  • Status: Completed
  • Priority: MEDIUM
  • Assignee: Matías Nehuen Iglesias
  • Tags: R, Vs Code, Configuration, Data Wrangling, R Markdown

Description

Session Goal

The primary goal of this session was to configure the R programming environment within Visual Studio Code, enabling efficient data manipulation and notebook creation using R and R Markdown.

Key Activities

  • Data Wrangling with Tidyverse: Implemented an R script for data wrangling using the tidyverse package, focusing on reading CSV files, extracting variable roots with regex, and selecting relevant columns.
  • R Notebooks in VS Code: Created and ran R notebooks using Visual Studio Code, including the installation of the R extension and exporting notebooks as HTML.
  • Configuring R Path: Resolved configuration errors by specifying the R executable path in the settings.json file of VS Code.
  • R Installation: Installed R for Visual Studio Code, ensuring the correct configuration of the R executable path.
  • R Markdown Usage: Installed and utilized the R Markdown extension in VS Code for creating R notebooks.
  • Troubleshooting: Addressed issues with Rmd file display in VS Code by verifying extension installations and configuring language modes.

Achievements

  • Successfully configured the R environment in Visual Studio Code, enabling seamless R programming and notebook creation.
  • Resolved configuration and installation issues related to R and R Markdown in VS Code.

Pending Tasks

  • Further exploration of advanced data manipulation techniques with tidyverse.
  • Continuous monitoring of the R environment setup for any emerging issues.

Evidence

  • source_file=2023-04-16.sessions.jsonl, line_number=2, event_count=0, session_id=2c759d3c13b9138207224703ac55e1441f5fe7c73f2331b2b3338ef378d6f825
  • event_ids: []