Stephan Koenig 94033a1331 Suggested edits related to Strings chapter (#1219)
* Add {wakefield} as dependency for Strings chapter

* Move footnote into body of text

The footnote appears to be redundant with the more vague paragraph
immediately following it in the main body of the text, so combine their
information instead.

* Make explicit that `coalesce()` replaces NAs

* Fix definition of `start` & `end` for `str_sub()`

* Edit section on Letter variations

* Edit section on Locale-dependent function

* Apply suggestions from code review

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
2023-01-06 15:13:34 -05:00
2022-11-18 12:58:34 -06:00
2022-12-14 08:30:23 -05:00
2022-12-07 21:48:59 -05:00
2022-11-18 11:55:22 -06:00
2022-11-18 11:55:22 -06:00
2022-12-07 21:48:59 -05:00
2022-12-08 14:43:11 +13:00
2022-12-13 14:24:19 -06:00
2022-12-06 12:59:03 -06:00
2022-12-05 07:05:38 +13:00
2022-05-14 08:46:49 +12:00
2022-11-21 09:40:19 -06:00
2016-12-02 12:11:59 -06:00
2023-01-03 02:06:27 -05:00
2022-12-08 14:43:11 +13:00
2022-12-18 18:07:53 -06:00
2016-11-21 08:28:57 -06:00
2022-12-07 21:48:59 -05:00
2022-11-18 15:13:17 -06:00
2015-11-21 08:31:32 +13:00
2022-12-25 11:23:42 -05:00
2022-12-25 11:23:42 -05:00
2015-07-27 16:52:19 -05:00
2022-05-14 08:46:49 +12:00
2022-12-16 01:41:10 -05:00
2023-01-03 02:06:27 -05:00
2022-11-21 09:41:18 -06:00
2022-11-21 08:47:39 -06:00
2022-11-18 11:26:25 -06:00
2022-12-06 16:17:25 -06:00
2023-01-03 02:06:27 -05:00
2023-01-02 19:54:58 -05:00
2022-12-05 07:05:38 +13:00
2022-12-06 08:27:19 -05:00
2022-12-07 01:31:57 -05:00

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.

The R packages used in this book can be installed via

devtools::install_github("hadley/r4ds")

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:

devtools::load_all("../minibook/"); process_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)

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.

Description
No description provided
Readme 138 MiB
Languages
R 76.5%
SCSS 21.7%
HTML 1.8%