Create beautiful documents with Quarto and R

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 39

  • @danielboadzie8143
    @danielboadzie8143 2 года назад +12

    I love Quarto! I'm writing a technical Python book with it. Thank soo much for this awesome tool.

    • @solomonyao4545
      @solomonyao4545 2 года назад +1

      How do you use it bro

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 Год назад

      @@solomonyao4545 He probably just choses the book options. I believe it is in there (sort of like LaTeX).

  • @fcasoqueiroz
    @fcasoqueiroz 2 года назад +2

    I'm so glad I've found your channel!!!!! Thanks so much 💟

  • @ericanku9451
    @ericanku9451 2 года назад +1

    I just read about Quarto from LinkedIn and I love the description from the video, R Markdown on steroids😀.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Год назад

    Quarto ís excellent. The document formatting, figure and table arrangement and cross-referencing remind me a lot of Latex. As an avid LaTeX user I am thrilled.

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      You can use raw LaTeX in there too quarto.org/docs/visual-editor/technical.html#latex-and-html

  • @peterman3699
    @peterman3699 Год назад +1

    very useful...Thank you so much

  • @takesuretozooneyi4836
    @takesuretozooneyi4836 2 года назад

    Thanx Dr. It will be also nice to learn how to make an academic website with quarto.

  • @marcogelsomini7655
    @marcogelsomini7655 Год назад +1

    20:10 ok that's good!! I was wondering it' s the same as rmarkdown

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Год назад +1

    Can you explain the difference between a Quarto document and Quarto Project?

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      If you think about the project as all of the bits and pieces (so the directory/folder, the various files, the meta data) whereas the document is the thing being produced (pdf, word, html etc).

  • @dskevinperezgarcia
    @dskevinperezgarcia Год назад +1

    Greetings. One question, if I make changes to my quarto file locally, how would I update my post in quartopub?

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад +1

      Can you just republish? I haven't actually run into this myself, but that would be my first instinct. Otherwise check the quartopub documentation quarto.org/docs/publishing/quarto-pub.html

  • @miransh
    @miransh Год назад +1

    Thanks - this was definately helpful. Would you please show how to convert an existing .r file to .qmd? Thanks

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад +2

      If you mean an rmd RMarkdown file, you can just change the extension from .rmd to .qmd and when you open it you will get all of your render & Quarto options. If you just have a .R file with a whole bunch of R code, I would open a new Quarto doc and copy the code into chunks as you would like it to appear in your document. I hope that helps.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Год назад

    I think LaTeX users will find the document styling in Quarto simple. The power of Quarto (and RMarkdown) lies in the code blocks. LaTeX is not designed for that but it goes into much greater depth on the document side. Quarto barely touches the surface of LaTeX is capable of doing. Perhaps Quarto will draw some user to LaTeX - it might not look as scary after you use Quarto. In Quarto LaTeX and R (or python) meet in the middle and you get the best of both.

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      Absolutely. Overleaf made LaTeX a little more accessible but having everything integrated is so handy.

  • @SergeiDumnov
    @SergeiDumnov 2 года назад

    In 2000 version 1.0.0 of R was released to the public.

    • @DrLyndonWalker
      @DrLyndonWalker  2 года назад +1

      Indeed. I was lucky to get an early start on it in 1997.

    • @navjotsingh2251
      @navjotsingh2251 2 года назад

      @@DrLyndonWalker haha, I only started with R last year…

    • @musicspinner
      @musicspinner Год назад +1

      @@DrLyndonWalker A true R OG.

  • @Kiulianm1
    @Kiulianm1 2 года назад +2

    Is it possible to convert an R.Markdown to Quarto?

    • @DrLyndonWalker
      @DrLyndonWalker  2 года назад +1

      Great question. Quarto does seem to be backwards compatible. If you rename a .RMD file as a .QMD file it will open as a Quarto doc will render (at least it has for the ones I have tried). Then you can go through and add the extra bits and pieces that Quarto offers.

  • @rtheodoro
    @rtheodoro 2 года назад +1

    Great video! How can I change my quarto fonts and justify my text?

    • @DrLyndonWalker
      @DrLyndonWalker  2 года назад +1

      Great questions. I just posted a video on how to change your Quarto document font.
      ruclips.net/video/yAlhq8yhLsw/видео.html
      To justify text, you can select your text, and in the visual editor go to format, div, and add align="justify" in the other box. There might be other/better ways of doing it, I'm still investigating.

    • @rtheodoro
      @rtheodoro 2 года назад

      @@DrLyndonWalker Great!

  • @drmohammedalis8938
    @drmohammedalis8938 Год назад

    Very good video. Is there any option to host a Quarto HTML book in Microsoft Teams / Microsoft Sharepoint?

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      Great question. I haven't tested this yet but I would start by renaming my html files as .aspx files (the format that Sharepoint wants) and upload to your document library. Then I think you just embed as required.

  • @parkphillip7339
    @parkphillip7339 Год назад

    I salute your Quarto lecture.
    I'm trying to convert multiple qmd files into a single word file in a .qmd file, but it doesn't work. I ask for your help.
    The coding below is not working. How can I make it possible to code?
    ```{r, fig.width = 9.5, fig.height = 11}
    source("1.qmd")
    source("2.qmd")
    source("3.qmd")
    source("4.qmd")
    source("5.qmd")
    source("6.qmd")
    source("7.qmd")
    source("8.qmd")
    ```

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      I haven't tried doing this before but does something like this help: stackoverflow.com/questions/73628379/rendering-many-connected-quarto-documents

    • @parkphillip7339
      @parkphillip7339 Год назад

      @@DrLyndonWalker Thanks a lot for your information, but resolutions are not mine.

  • @silvadidierrr
    @silvadidierrr Год назад

    Hi, great video! thanks
    However when I work with my data I see this error and I don't know how to fix it:
    Error in tools::file_path_as_absolute(cwd) :
    file 'H:\My Drive\NAMEFOLDER1\NAMEFOLDER1.1\NAMEFOLDER' does not exist
    Calls: .main -> execute ->
    Execution halted
    I'm not sure if it's the use of / vs \ the problem.
    Please help!

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      Definitely an issue with setting your working directory. Check that your path exists and is typed correctly. See www.sthda.com/english/wiki/running-rstudio-and-setting-up-your-working-directory-easy-r-programming
      For more on working directories

    • @silvadidierrr
      @silvadidierrr Год назад

      @@DrLyndonWalker thanks so much!

  • @rfulleasy5349
    @rfulleasy5349 2 года назад

    Is possible put the output in rpubs?

    • @DrLyndonWalker
      @DrLyndonWalker  2 года назад

      I haven't tried it myself but searching rpubs there are quarto pages so I would guess so. Have a look at the producing a quarto website help on the quarto website. I think the html + website options should get you there.

  • @DudeGuyWho
    @DudeGuyWho Год назад

    Thank you...but too quiet: I couldn't watch it even after maximizing all audio settings. (Granted I'm a little hard of hearing.)

    • @DrLyndonWalker
      @DrLyndonWalker  Год назад

      Thanks. That's something I have been working on. Hopefully my newer videos are mastered at a better (louder) volume.