Go to file
Jonathan Kitt 11a5c5bbcc
Fixed typo (#1397)
* Fixed typo

There seems to be a typo in the list names, and in the associated figures

* Update screenshots

* Now with the little icons

---------

Co-authored-by: mine-cetinkaya-rundel <cetinkaya.mine@gmail.com>
2023-04-10 00:13:02 -04:00
.github Try renaming action in 2e 2022-11-18 12:58:34 -06:00
_freeze/arrow/execute-results Try simpler code with latest arrow (#1334) 2023-03-07 08:05:43 -06:00
data A round of edits for length (#1278) 2023-02-13 02:22:17 -05:00
diagrams Replace with realistic data for "how does `pivot_*()` work" (#1357) 2023-03-10 16:31:07 -06:00
images Minimise base-R a little 2023-02-07 15:41:16 -06:00
quarto Quarto edits (#1355) 2023-03-10 07:20:34 -06:00
screenshots Fixed typo (#1397) 2023-04-10 00:13:02 -04:00
.Rbuildignore Add code of conduct and update acknowledgements 2020-10-05 17:56:27 -05:00
.gitignore Remove O'Reilly files 2023-02-14 07:37:48 -06:00
CODE_OF_CONDUCT.md Actually commit code of conduct 2020-10-05 17:58:33 -05:00
DESCRIPTION Remove comma, closes #1387 2023-03-26 10:02:55 -04:00
EDA.qmd EDA editor comments 2023-03-11 11:26:22 -05:00
LICENSE First commit 2015-07-27 16:52:19 -05:00
README.md Remove invalid install instructions 2023-02-07 10:05:57 -06:00
_common.R More minor page count tweaks & fixes 2023-01-26 10:36:07 -06:00
_quarto.yml Eliminate pipes chapter (#1332) 2023-03-01 13:34:26 -06:00
arrow.qmd Eliminating repeated word (#1380) 2023-03-20 16:11:16 -05:00
base-R.qmd correcting small typo (#1379) 2023-03-20 15:48:41 -04:00
communicate.qmd Fixing wrong word (#1392) 2023-03-27 17:40:33 -05:00
communication.qmd Remove extraneous comma, closes #1413 2023-04-09 23:00:40 -04:00
contribute.qmd Convert to Quarto book (#1026) 2022-05-14 08:46:49 +12:00
contributors.R Thank all contributors on home page 2018-08-24 10:54:58 -05:00
contributors.csv Update acknowledgements (#1363) 2023-03-12 12:59:13 -05:00
cover.png Colour cover 2016-12-02 12:11:59 -06:00
data-import.qmd Fix/data import (#1412) 2023-04-09 23:38:44 -04:00
data-tidy.qmd typos (#1403) 2023-04-08 10:36:31 -04:00
data-transform.qmd Fix/data-transform (#1398) 2023-04-09 23:21:13 -04:00
data-visualize.qmd Fix/data-visualize (#1390) 2023-04-08 09:55:50 -04:00
databases.qmd Fixed typo (#1395) 2023-03-28 07:42:32 -04:00
datetimes.qmd Fix typo for overnight arrival time, closes #1385 2023-04-09 22:54:01 -04:00
factors.qmd Adjust multi-column plots (#1354) 2023-03-10 07:19:53 -06:00
figures.R Copy for creating figures dir 2016-11-21 08:28:57 -06:00
functions.qmd Fixing typo in functions chapter (#1417) 2023-04-09 23:40:21 -04:00
import.qmd Wrangle -> import (#1177) 2022-12-07 21:48:59 -05:00
index.qmd Update index.qmd (#1378) 2023-03-20 15:46:12 -04:00
intro.qmd Remove line break + visual editor moved chunk 2023-04-08 10:23:03 -04:00
issues.json More writing about purrr and lists 2015-11-21 08:31:32 +13:00
iteration.qmd Fix typo (#1386) 2023-03-24 11:11:55 -05:00
joins.qmd Normalize 2023-03-08 17:28:52 -06:00
layers.qmd Minor edits based on PDF review (#1359) 2023-03-10 15:52:40 -06:00
logicals.qmd TR feedback 2 (#1318) 2023-03-01 07:45:54 -06:00
missing-values.qmd Adjust multi-column plots (#1354) 2023-03-10 07:19:53 -06:00
numbers.qmd Update numbers.qmd (#1409) 2023-04-08 10:17:50 -04:00
oreilly-colours.R Use US spelling of summarize() 2022-11-18 16:07:54 -06:00
plausible.html Convert to Quarto book (#1026) 2022-05-14 08:46:49 +12:00
preface-2e.qmd Minors (#1339) 2023-03-09 19:00:58 -05:00
program.qmd TR feedback 2 (#1318) 2023-03-01 07:45:54 -06:00
quarto-formats.qmd Quarto formats editor comments 2023-03-11 11:26:05 -05:00
quarto.qmd Fixing typo (#1393) 2023-03-27 19:52:14 -05:00
r4ds.Rproj Don't try and append new lines 2022-11-21 09:41:18 -06:00
r4ds.scss Restore underlines for linked code 2022-11-21 08:47:39 -06:00
rectangling.qmd Fixed typo (#1397) 2023-04-10 00:13:02 -04:00
regexps.qmd Fixed typos (#1376) 2023-03-17 11:30:32 -04:00
spreadsheets.qmd Spreadsheets editor comments 2023-03-11 11:25:51 -05:00
strings.qmd Fixed typo (#1369) 2023-03-15 11:01:00 -04:00
students.feather Draft/outline of spreadsheets (#949) 2021-10-26 15:00:33 -04:00
transform.qmd Typo in transform.qmd (#1411) 2023-04-08 10:12:23 -04:00
visualize.qmd Visualize part review edits (#1348) 2023-03-09 09:19:02 -05:00
webscraping.qmd Add missing forward slash, closes #1405 2023-04-09 22:30:13 -04:00
whole-game.qmd Minors (#1339) 2023-03-09 19:00:58 -05:00
workflow-basics.qmd Fix/workflow-basics (#1391) 2023-04-08 10:10:19 -04:00
workflow-help.qmd More TR edits (#1343) 2023-03-07 08:52:43 -05:00
workflow-scripts.qmd Fix/workflow-scripts (#1406) 2023-04-08 10:30:12 -04:00
workflow-style.qmd speed = distance / time, and typos (#1402) 2023-04-08 10:34:21 -04:00

README.md

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.