Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

R for data science: a book

License

NotificationsYou must be signed in to change notification settings

hadley/r4ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Render and deploy Book to Netlify

This repository contains the source ofR for Data Science book.The book is built usingQuarto.

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: NULLknitr::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: NULLknitr::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 aContributor Code of Conduct.By contributing to this book, you agree to abide by its terms.

About

R for data science: a book

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp