2023-05-17 13:28:32 -05:00
2022-11-18 12:58:34 -06:00
2023-02-13 02:22:17 -05:00
2023-05-10 17:23:31 -04:00
2023-02-07 15:41:16 -06:00
2023-03-10 07:20:34 -06:00
2023-04-10 00:13:02 -04:00
2023-01-26 10:36:07 -06:00
2023-04-10 17:27:44 -04:00
2023-02-14 07:37:48 -06:00
2023-03-20 15:48:41 -04:00
2023-03-27 17:40:33 -05:00
2022-05-14 08:46:49 +12:00
2023-04-10 17:27:44 -04:00
2023-05-09 14:16:33 -04:00
2023-05-09 14:04:45 -04:00
2023-05-09 23:11:00 -04:00
2023-03-26 10:02:55 -04:00
2023-04-17 08:06:06 -04:00
2023-05-09 21:53:06 -04:00
2016-11-21 08:28:57 -06:00
2023-05-09 16:46:39 -04:00
2023-05-12 08:01:23 -04:00
2023-03-20 15:46:12 -04:00
2015-11-21 08:31:32 +13:00
2023-05-09 16:46:39 -04:00
2023-04-17 08:18:48 -04:00
2023-04-10 11:23:23 -04:00
2015-07-27 16:52:19 -05:00
2022-05-14 08:46:49 +12:00
2023-04-10 01:07:20 -04:00
2023-03-01 07:45:54 -06:00
2023-04-10 11:23:23 -04:00
2022-11-21 09:41:18 -06:00
2023-02-07 10:05:57 -06:00
2023-05-10 15:05:13 -05:00
2023-04-08 10:12:23 -04:00
2023-05-09 15:43:39 -04:00
2023-03-09 19:00:58 -05:00
2023-03-07 08:52:43 -05:00
2023-04-10 11:23:23 -04: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.

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.

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