Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.22 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.22 KB

PASWR2E-Rscripts

R scripts for the book Probability and Statistics with R, Second Edition

Quick Links

Downloading Chapter Scripts

  • Click on the ChapterScripts directory
  • Select the desired chapter
  • Click the Raw button (top right)
  • In your web browser, click Edit > Select All then Edit > Copy
  • Paste the results in a blank R script OR
  • Copy the url and use download.file() (example below)
# Downloading Chapter One Script
site <- "https://raw.githubusercontent.com/alanarnholt/PASWR2E-Rscripts/master/ChapterScripts/chapter01.R"
download.file(url = site, destfile = "chapter01.R", method = "curl")