Skip to content

NCSU-Libraries/intro-to-prog-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NC State University Libraries Logo

NC State University Libraries R Workshops

NC State Libraries Workshops Data Science Services GetDataHelp Email: getdatahelp@ncsu.edu


Getting Started with R

Running in Google Colab

Fundamentals Open in Colab — Basic Syntax and Operators

Loops and Functions Open in Colab — Control Flow and Functions

EDA Open in Colab — Control Flow and Functions

These materials are used in NC State University Libraries' Data Science Services workshops covering practical data skills (Python, R, visualization, and analysis).


🚀 Quick start

  1. Click a workshop badge above to open in Colab.
  2. Run the install cell when prompted (section below).
  3. Runtime → Restart runtime.
  4. Runtime → Run all. ✅

📘 Included notebooks

  • 🧱 Fundamentals — variables, types, lists, dicts, and more.
  • 🔁 Loops and Functions — conditionals, loops, functions, and scope.

🧩 Solutions

  • Fundamentals — Solutions Open in Colab — Solutions: Basic Syntax and Operators

  • Loops and Functions — Solutions Open in Colab — Solutions: Control Flow and Functions

  • EDA — Solutions Open in Colab — Solutions: Control Flow and Functions

💻 Use on Google Colab

This folder contains Python/Jupyter equivalents of the R workshop notebooks found in the "RStudio Materials" directory. You can run them directly in Google Colab without installing anything locally (e.g. R, RStudio).

🔗 Open in Colab

  1. Click a badge above to open directly in Colab.

Alternatively, in Colab: File → Open Notebook → GitHub tab → paste the repo URL https://github.com/NCSU-Libraries/intro-to-prog-r and select the notebooks in the repository root.

💾 Save outputs to Google Drive (optional)

COMING SOON!

▶️ Run the notebooks

After installs finish:

  1. Runtime → Restart runtime (recommended) so freshly installed packages are active.
  2. Runtime → Run all.

🛠️ Troubleshooting

  • If a package fails to install, re-run the install cell; transient network issues are common.
  • For large installs, ensure you restarted the runtime before executing the rest of the notebook.
  • If you see import errors, verify the requirements.txt URL matches the branch you want.

About

Introduction to Programming with R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •