How to get started with the bookdown package

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 28

  • @giacomobovo5729
    @giacomobovo5729 9 หลายเดือนก่อน

    Best tutorial i've seen to get started with this package, tank you very much!

  • @123XDmisterin
    @123XDmisterin 2 ปีที่แล้ว +1

    Thank you very much! It's a nice and clear tutorial with all the necessary features :)

  • @kevalan1042
    @kevalan1042 2 ปีที่แล้ว +4

    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 ปีที่แล้ว +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 ปีที่แล้ว +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).

  • @oblatiosui
    @oblatiosui 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@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.

  • @akepilinggiehili5320
    @akepilinggiehili5320 2 ปีที่แล้ว

    Thank you was searching for like this basic one

  • @felipeperilla
    @felipeperilla ปีที่แล้ว

    Thanks a lot, David!

  • @nand1sh
    @nand1sh 2 ปีที่แล้ว

    Thank you so much for this.

  • @ShadArfMohammed
    @ShadArfMohammed ปีที่แล้ว

    Thanks for sharing this,
    is it possible to show the rendered version directly on github ? or it should be on Netlify ?

    • @rfortherestofus
      @rfortherestofus  ปีที่แล้ว +1

      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 ปีที่แล้ว

      @@rfortherestofus thanks a lot for the reply. I will try to do so.

  • @evaldosilva786
    @evaldosilva786 2 ปีที่แล้ว

    Great video, David.
    Could you prepare a video explaining how to prepare a book in PDF format using bookdown?

    • @rfortherestofus
      @rfortherestofus  2 ปีที่แล้ว

      When you build the whole book, it also creates a PDF file automatically. See bookdown.org/yihui/bookdown/build-the-book.html

  • @fyzen568
    @fyzen568 2 ปีที่แล้ว

    How to chosse? bookdown or quarto book?

  • @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  2 ปีที่แล้ว

      ​@@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  ปีที่แล้ว +1

      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!