How to get started with the bookdown package

  Рет қаралды 6,891

R for the Rest of Us

R for the Rest of Us

2 жыл бұрын

For more, see the full blog post at rfortherestofus.com/2022/04/b...
If you want to receive emails to help you on your R journey, sign up for the R for the Rest of Us newsletter: rfortherestofus.com/newsletter

Пікірлер: 28
@giacomobovo5729
@giacomobovo5729 5 ай бұрын
Best tutorial i've seen to get started with this package, tank you very much!
@123XDmisterin
@123XDmisterin 2 жыл бұрын
Thank you very much! It's a nice and clear tutorial with all the necessary features :)
@nand1sh
@nand1sh Жыл бұрын
Thank you so much for this.
@akepilinggiehili5320
@akepilinggiehili5320 2 жыл бұрын
Thank you was searching for like this basic one
@kevalan1042
@kevalan1042 2 жыл бұрын
Nice! Would love a follow up, on 1) how to deal with references/bibliography, 2) how to export to ebook formats like epub/mobi, 3) how to best handle math symbols and equations
@davidgkeyes
@davidgkeyes 2 жыл бұрын
I haven't done 1 and 3 so I don't have anything to offer there. On 2, it creates that every time you build your book.
@kevalan1042
@kevalan1042 2 жыл бұрын
@@davidgkeyes Having played around with it for a week: For #1 RStudio is nicely integrated with the Zotero open source tool. #3 works well out of the box for HTML and PDF outputs, however it's less nice with EPUB/MOBI (math typesetting is a bit ugly).
@felipeperilla
@felipeperilla 8 ай бұрын
Thanks a lot, David!
@rfortherestofus
@rfortherestofus 8 ай бұрын
You are welcome!
@oblatiosui
@oblatiosui 3 ай бұрын
Thanks for this! Great video tutorial, I wonder though if there's a way rendered pages can be hidden based on RBAC? I mean not all pages/sections to be seen but some are kind of restrcted. TIA!
@rfortherestofus
@rfortherestofus 3 ай бұрын
There isn't a way built into bookdown. This is something I and many people have wondered about, though. See twitter.com/dgkeyes/status/1387876087334543360
@oblatiosui
@oblatiosui 3 ай бұрын
@@rfortherestofus Thanks for the tip, I think we are using the ShinyApp so need to probably push in that direction and just separate the docs into different audiences.
@evaldosilva786
@evaldosilva786 Жыл бұрын
Great video, David. Could you prepare a video explaining how to prepare a book in PDF format using bookdown?
@rfortherestofus
@rfortherestofus Жыл бұрын
When you build the whole book, it also creates a PDF file automatically. See bookdown.org/yihui/bookdown/build-the-book.html
@fyzen568
@fyzen568 Жыл бұрын
How to chosse? bookdown or quarto book?
@ShadArfMohammed
@ShadArfMohammed 9 ай бұрын
Thanks for sharing this, is it possible to show the rendered version directly on github ? or it should be on Netlify ?
@rfortherestofus
@rfortherestofus 9 ай бұрын
You could use GitHub Pages to show the rendered version, but not GitHub itself (that's just for showing the source code). Hope that helps!
@ShadArfMohammed
@ShadArfMohammed 9 ай бұрын
@@rfortherestofus thanks a lot for the reply. I will try to do so.
@larem8435
@larem8435 2 жыл бұрын
What if I have already knit my markdown files to html and I want to put several html files in a book without having to run/use the rmd files, how would one do this?
@davidgkeyes
@davidgkeyes 2 жыл бұрын
I'm not sure I understand your question. Do you mind elaborating?
@larem8435
@larem8435 2 жыл бұрын
@@davidgkeyes yea no problem, I have RMD files that ive already knitted to html and theyre perfect, they have dark theme and table of contents on the side that let you click to a section in the project just the way i want, and I want to put these all together into one book only using the html files because I dont want to rerun the models used in the RMD files they will take too long and things might not work the same anymore
@rfortherestofus
@rfortherestofus Жыл бұрын
​@@larem8435 I believe you could just add them to a new project and follow the instructions in my video, creating a _bookdown.yml file that lists them all. This will have them be part of your book.
@dskevinperezgarcia
@dskevinperezgarcia Жыл бұрын
what about files to be ignored by git?
@rfortherestofus
@rfortherestofus Жыл бұрын
You can edit your .gitignore file just like any other project. Is that what you're asking about?
@dskevinperezgarcia
@dskevinperezgarcia Жыл бұрын
@@rfortherestofus When creating a bookdown, what files should it ignore other than the ones that are usually ignored by an R project? It seems to me that some extra files are created like when one works with LaTeX.
@rfortherestofus
@rfortherestofus Жыл бұрын
@@dskevinperezgarcia It's a good question, but it's not something I've had to deal with. I just left the default .gitignore and it works fine.
@dskevinperezgarcia
@dskevinperezgarcia Жыл бұрын
@@rfortherestofus gracias por tu respuesta.
@rfortherestofus
@rfortherestofus Жыл бұрын
@@dskevinperezgarcia Con mucho gusto!
A step-by-step guide to parameterized reporting in R using Quarto
20:16
R for the Rest of Us
Рет қаралды 613
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 113 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 51 МЛН
How to Reuse Code in RStudio With Snippets
11:04
R for the Rest of Us
Рет қаралды 635
Blogging with Quarto: a 10 minute getting started tutorial
16:42
Crump's Computational Cognition Lab
Рет қаралды 7 М.
Making your R Markdown Pretty
8:34
Josiah Parry
Рет қаралды 41 М.
How to Format Your R Code With {styler}
7:50
R for the Rest of Us
Рет қаралды 1,4 М.
Rich Iannone || Making Beautiful Tables with {gt} || RStudio
34:05
Why I Switched From LaTeX to Markdown | #113
10:43
Andreas Kretz
Рет қаралды 56 М.
A Plan Is Not a Strategy
9:32
Harvard Business Review
Рет қаралды 4,3 МЛН
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 111 М.
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 788 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 314 М.