R Markdown Users: Why you should switch to Quarto NOW

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

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

  • @tranle5614
    @tranle5614 11 месяцев назад

    Thank you so much. I knew about Quarto when it came out, but I needed convincing to learn it. I read some posts about Quarto to see if I need to use it, but I'm completely convinced after watching your video. Your video is short, but it covers all valuable points.

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

    Thanks for this presentation, Wolf! I haven't used quarto yet, so this was a great overview for me.

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

      Thanks, Joachim!
      On the one hand, it's fun to dive into new technology.
      On the other hand, it was another case of "Well, I guess I can throw away my training material on Reporting" when Quarto appeared on the scene ... 🙂

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

      @@StatistikinDD haha I know what you mean! :D

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

    I swtiched last fall and I love it!

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

    Thank you very much for your videos, I subscribed to the channel!
    Lately, I've been trying to convince my friends and colleagues in a subliminal way to go from Rmarkdown to Quarto. The arguments you presented are exactly what I was missing, thank you! I also have 2 questions:
    1. Xarigan presentations are what prevent me from transferring all my remaining rmd to qmd. You said that reveal.js works pretty well on Quarto, is there a feature that is missing compared to Xarigan?
    2. You said that Quarto could support languages that do not yet exist yet. I am also a Nim user, is it possible to use Nim in it and what would be the missing functionalities since the language has not been implemented yet?
    Again thank you for your video!

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

      Thank you for your comment! Much appreciated.
      I still use xaringan when I need a pdf version. Had difficulties printing quarto/ reveal.js to pdf. Heard fixed width and toggling self-contained true/false could help. Haven't tried yet.
      For HTML, I really like reveal.js.
      Can't say about Nim, sorry. Maybe ask Posit forum.

  • @zeno1512
    @zeno1512 Месяц назад

    Great video! One thing holding me back from transitioning to Quarto from R markdown is the inability to use global variables created in a wrapper script when calling quarto_render() like you can in render() for R markdown. This basically makes Quarto unusable for me as my standard workflow is to do all the data cleaning in an R script and use a pwalk to run reports for whatever group I need to split the data by. I know this isn't the Quarto ideal of having everything in a reproducible document but it's so much more efficient than having to reload the data for every version of a report I want to render. Do you know of a way to use objects in a current R session/environment in a Quarto document without specifically loading it into the .qmd file?

    • @StatistikinDD
      @StatistikinDD  Месяц назад

      Not sure if I fully understand your use case. Reading your comment my first thought was parameterized reports. These are possible in Quarto just like in RMarkdown - only exception being that up to now (as far as I know), you can't use the interactive shiny screen in Quarto that "Knit with parameters" gives you in RMarkdown. But programmatically, which I believe is your application, you can just as well pass parameters to Quarto for rendering. Have you checked all the options in quarto::quarto_render()? (quarto is a small R package that bridges to the Quarto software.)
      So you could make the categories to split your data by a parameter (or several, if needed) in the call to quarto_render(execute_params = ...).
      Re-reading your comment, it seems the decisive argument you need is envir. That indeed seems to available in rmarkdown::render(), but not in quarto::quarto_render(). So basically you'd load the full dataset in your document and then filter by a parameter.
      I believe this is also the idea behind rmarkdown: to run in a new session. Using data from the user's Global Environment may break reproducibility of reports (e. g. manual data cleaning steps outside of the .Rmd not reproducible for colleagues who only have access to raw data).

    • @StatistikinDD
      @StatistikinDD  Месяц назад

      An idea: use a data format that allows for filtering while loading data, e. g. a database format, or maybe parquet (which I don't have much experience with). Then a parameter determines which part of the data is loaded for a specific report, so you don't repeatedly load the full data for report creation.

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

    Thanks for the video. very helpful. Looks promising, but for use cases where controlled page layout is critical (posters, "one pagers", brochures, etc), it seems maybe we'll have to wait for paged HTML support ala pagedown?

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

      Currently I'm lacking experience in that. Read that fixed width and toggling with self-contained / embed-resources may help in PDF output stability. Thanks to Nicola Rennie.

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

    Great video! Any idea on how to customize an individual page's URL in quarto?

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

      Sorry, don't know. So far I've only used it for presentations.

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

    Hi, guys. I got a strange problem. Some shortcuts work in Rmarkdown, but not in Quarto. For example, Insert Assignment Operator, Insert Pipe Operator. Anyone runs into the same problem?

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

      Hi,
      haven't noticed that. What is your setup? Operating system, R version, quarto version, RStudio (?) version.
      For the quarto version, you can install the quarto R package. (Not a replacement for the quarto software, just a small interface.)
      Then use quarto::quarto_version().

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

      @@StatistikinDD Thanks a lot. Problem solved by updating Quarto. Thanks man. But one more question: is there a way to automatically update the Quarto? I don't even know my Quarto is out of date if you did not mention it.

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

      ​@@CanDoSo_org Not aware of an automatic update, not from within R anyway. Quarto gets bundled with RStudio, so when you update that, you may get a new quarto version as well. You can install daily builds of RStudio to get quicker updates. (I don't do that.)
      Apart from that, I sometimes check the quarto website and manually download quarto.

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

      @@StatistikinDD Thanks a lot.

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

    How about blogdown? does Quarto also replaces blogdown websites?

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

      It does. Haven't tried it myself though.