- Notifications
You must be signed in to change notification settings - Fork1.7k
hadley/adv-r
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is code and text behind theAdvanced Rbook. The site is built withbookdown.
Omnigraffle:
Make sure that 100% is "one postscript point": this ensures canvassize matches physical size. Export at 300 dpi scaled to 100%.
Set grid to 1cm with 10 minor units. Ensure there is 2mm padding aroundall sides of each diagram.
Conventions:
- Text is set in inconsolata 10pt, with text padding set to 3.
- Emoji set in "Apple Color Emoji" 8pt.
- Default scalar size is 6mm x 6mm.
- Symbols have 4pt rounded corners and plum border.
- Arrow heads should be set to 75%.
- Names should be coloured in steel.
Book:
Inconsolata scaled (by fontspec) to match main font is 9.42pt.
Preview at 100% matches physical size of book. Maximum diagram width is 11cm.
RMarkdown
Remove dpi specification from
include_graphics(), instead relyingoncommon.R. Chunk should haveoutput.width = NULL.Beware caching: after changing the size of an image you may need toclear the cache before it is correctly updated.
To zip files to for publisher:
mkdir crccp _book/_main.tex crccp -r _bookdown_files/*_files crccp -r diagrams crccp -r screenshots crccp -r emoji crccp mina.jpg crccp krantz.cls crccp book.bib crcrm crc/diagrams/*.grafflezip -r adv-r-source.zip crcPlease note that Advanced R is released with aContributor Code of Conduct.By contributing to this project, you agree to abide by its terms.
About
Advanced R: a book
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.