Skip to content

Instantly share code, notes, and snippets.

@vabwalsh
vabwalsh / Rconfig.R
Last active April 5, 2025 21:34 — forked from chriscarrollsmith/Rconfig.R
VSCode- & Cursor-friendly R configuration
#!/usr/bin/env Rscript
# R Setup Script
# Author: Christopher Smith
# Date: 2024-10-07
# Prerequisites: Install R and IDE (manual steps, not included in script)
# Define the mirror URL (edit as needed)
cran_mirror <- "https://lib.stat.cmu.edu/R/CRAN/"