Files
SolSolAutomazione/R-VsCode/r_vscode_setup_guide.md
2026-02-10 10:53:06 +01:00

991 B

Setting up R in VSCode

Current Status

R is installed: Version 4.4.3 (2025-02-28) -- "Trophy Case" R executable: /usr/bin/R

Required VSCode Extensions

Install these extensions for optimal R development:

Essential Extensions:

  1. R Extension for Visual Studio Code (by REditorSupport)

    • Provides syntax highlighting, code completion, and R integration
    • Install with: codium --install-extension REditorSupport.r
  2. R Debugger (by RDebugger)

    • Debugging support for R scripts
    • Install with: codium --install-extension RDebugger.r-debugger
  3. R LSP Client (by REditorSupport)

    • Language Server Protocol support for R
    • In VS Code, go to Extensions (Ctrl+Shift+X) and search for: "R LSP Client" by REditorSupport

Optional Extensions:

  • R Markdown Preview - For R Markdown files
  • Quarto - For modern R documents and reports

Installation Commands

Run these commands to install the essential extensions: