GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - a-lambda/r4ds: R for data science: a book

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,282 Commits
2,282 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
_freeze/arrow/execute-results
_freeze/arrow/execute-results
 
 
data
data
 
 
diagrams
diagrams
 
 
images
images
 
 
quarto
quarto
 
 
screenshots
screenshots
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
DESCRIPTION
DESCRIPTION
 
 
EDA.qmd
EDA.qmd
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_common.R
_common.R
 
 
_quarto.yml
_quarto.yml
 
 
air.toml
air.toml
 
 
arrow.qmd
arrow.qmd
 
 
base-R.qmd
base-R.qmd
 
 
communicate.qmd
communicate.qmd
 
 
communication.qmd
communication.qmd
 
 
contribute.qmd
contribute.qmd
 
 
contributors.R
contributors.R
 
 
contributors.csv
contributors.csv
 
 
cover.jpg
cover.jpg
 
 
data-import.qmd
data-import.qmd
 
 
data-tidy.qmd
data-tidy.qmd
 
 
data-transform.qmd
data-transform.qmd
 
 
data-visualize.qmd
data-visualize.qmd
 
 
databases.qmd
databases.qmd
 
 
datetimes.qmd
datetimes.qmd
 
 
factors.qmd
factors.qmd
 
 
figures.R
figures.R
 
 
functions.qmd
functions.qmd
 
 
import.qmd
import.qmd
 
 
index.qmd
index.qmd
 
 
intro.qmd
intro.qmd
 
 
issues.json
issues.json
 
 
iteration.qmd
iteration.qmd
 
 
joins.qmd
joins.qmd
 
 
layers.qmd
layers.qmd
 
 
logicals.qmd
logicals.qmd
 
 
missing-values.qmd
missing-values.qmd
 
 
numbers.qmd
numbers.qmd
 
 
oreilly-colours.R
oreilly-colours.R
 
 
plausible.html
plausible.html
 
 
preface-2e.qmd
preface-2e.qmd
 
 
program.qmd
program.qmd
 
 
quarto-formats.qmd
quarto-formats.qmd
 
 
quarto.qmd
quarto.qmd
 
 
r4ds.Rproj
r4ds.Rproj
 
 
r4ds.scss
r4ds.scss
 
 
rectangling.qmd
rectangling.qmd
 
 
regexps.qmd
regexps.qmd
 
 
spreadsheets.qmd
spreadsheets.qmd
 
 
strings.qmd
strings.qmd
 
 
students.feather
students.feather
 
 
transform.qmd
transform.qmd
 
 
visualize.qmd
visualize.qmd
 
 
webscraping.qmd
webscraping.qmd
 
 
whole-game.qmd
whole-game.qmd
 
 
workflow-basics.qmd
workflow-basics.qmd
 
 
workflow-help.qmd
workflow-help.qmd
 
 
workflow-scripts.qmd
workflow-scripts.qmd
 
 
workflow-style.qmd
workflow-style.qmd
 
 

Repository files navigation

R for Data Science

Render and deploy Book to Netlify

This repository contains the source of R for Data Science book. The book is built using Quarto.

Images

Omnigraffle drawings

  • Font: 12pt Guardian Sans Condensed / Ubuntu mono

  • Export as 300 dpi png.

  • Website font is 18 px = 13.5 pt, so scale dpi to match font sizes: 270 = 300 * 12 / 13.5. (I also verified this empirically by screenshotting.)

    #| echo: FALSE
    #| out.width: NULL
    knitr::include_graphics("diagrams/transform.png", dpi = 270)

Screenshots

  • Make sure you're using a light theme. For small interface elements (eg. toolbars), zoom in twice.

  • Screenshot with Cmd + Shift + 4.

  • Don't need to set dpi:

    #| echo: FALSE
    #| out.width: NULL
    knitr::include_graphics("screenshots/rstudio-wg.png")

O'Reilly

To generate book for O'Reilly, build the book then:

# pak::pak("hadley/htmlbook")
htmlbook::convert_book()

html <- list.files("oreilly", pattern = "[.]html$", full.names = TRUE)
file.copy(html, "../r-for-data-science-2e/", overwrite = TRUE)

pngs <- list.files("oreilly", pattern = "[.]png$", full.names = TRUE, recursive = TRUE)
dest <- gsub("oreilly", "../r-for-data-science-2e/", pngs)
fs::dir_create(unique(dirname(dest)))
file.copy(pngs, dest, overwrite = TRUE)

Then commit and push to atlas.

Code of Conduct

Please note that r4ds uses a Contributor Code of Conduct. By contributing to this book, you agree to abide by its terms.

About

R for data science: a book

r4ds.hadley.nz

Resources

Readme
License

Code of conduct

Code of conduct
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.