home.social

#quartopub — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #quartopub, aggregated by home.social.

fetched live
  1. Well if you use GitHub to post to your Quarto blog on Netlify and have something time-sensitive (I do, for my neighborhood blog) . . . too bad, it won't update
    #QuartoPub #GitHub

  2. I've redesigned my personal homepage (done with #QuartoPub) to focus on being especially resource-light last month and I have had quite a bit of fun with it.

    marioangst.com

    Somewhat ironically or probably saying something about computing in these times, the redesign did involve quite a bit of LLM help and I am not so sure the emissions produced by doing so will ever be made up by the optimization of the page. It is not like thousands visit my page daily ;).

    Also, related and double the irony, I wanted to get the page small enough to serve from a solar-powered, really small raspberry Pi, but had to abandon this because serving it from a small DigitalOcean server is just so much less of a hassle (and I do think likely much more energy efficient) because I do not have to implement all the defenses against bots and AI scrapers myself, compared to *really* serving it myself.

  3. RE: mastodon.social/@rmflight/1170

    So this ended up saving us 30G of disk space, and cutting the generation time in 1/2, from over 48 hours to just over 24 hours. That's some nice savings in this really ginormouse #RStats {targets} pipeline.

    The actual #QuartoPub filter I'm using is here: github.com/klausbrunner/conver

  4. This makes sense, but I had to think about it.

    If you are creating #RStats #QuartoPub HTML reports that are self-contained, the images have to be created, **and embedded** in the document. The smaller the image file, **the less time it takes to embed it**, as well as making the result file smaller.

    Probably not really noticeable on a single report. But adds up to minutes saved when generating 200 docs, even in parallel.

  5. Wow. Thanks to webp and reduced resolution, went from 44 MB to 18 MB on one of the bigger QC/QA dataset html reports I'm generating.

    Seems really weird that I can't just plug in {ragg::agg_webp} into the device slot of the {knitr} options of my #QuartoPub files. But the filter someone else built seems to work well enough.

  6. The emojis never lie.
    I was excited to try Quartorium mentioned in this post: nrennie.rbind.io/blog/collabor
    Supposedly it provides WYSIWYG collaboration in #quartoPub documents. My spidey sense started tingling when I saw all the emojis in the readme. I tried it and the install script doesn't even work. Looking at the commit messages, the thing looks to be wholly vivecoded and semi-abandonned.

    #RStats

  7. Sneak peek at a new interactive project exploring historic temperature trends across Scotland

  8. I'm shortly about to generate ~6100 QC/QA reports for datasets in Metabolomics Workbench, and thank you so much for the rich HTML reporting ecosystem in #RStats + #QuartoPub that means I can easily have callouts and tabsets in my report to make it take up less space, and easily click through a variety of related tables.

  9. 🚨 New blog post! 🚨

    Collaborating on Quarto documents can be tricky, especially if you're working with people who don't need to write code 🫂 So I've pulled together some of the options for collaborating on Quarto documents into a blog post!

    Link: nrennie.rbind.io/blog/collabor

  10. I would have thought a perfect use case for #QuartoPub "includes" would be something like:

    ```{r}
    #| label: conditional-include
    if ( condition1) {
    {{< include _condition1.qmd >}}
    } else {
    {{< include _condition2.qmd >}}
    }
    ```

    But {quarto} complains about incomplete input if I actually do that. But both docs look fine.

    Guess it's figuring out the whole document pieces to include *outside* first, `cat` together, and then `render`.

    #RStats

  11. The entire article is data-driven using , and built with . You can read the whole thing here: nrennie.rbind.io/data-stories/

  12. This week's data compares baby names in Scotland, Northern Ireland, and England & Wales 📊

    One of the interesting things about this data is that you can often spot trends related to current events 👸

    Code: github.com/nrennie/tidytuesday

  13. Recent personal project comparing which baby names are popular in Scotland, Northern Ireland, and England & Wales.

    This involved pulling together public data across three different national statistics organisations (NISRA, NRS, and ONS).

    Link: nrennie.rbind.io/data-stories/

  14. 📢 Upcoming R-Ladies Rome Workshop
    From Data Analysis to Publication: Reproducible Research with R and Quarto

    🎙️ With Betsabé Cohen & Jesica Formoso (R-Ladies+ Buenos Aires)

    📅 Registration: luma.com/j2qxv1pr

  15. 📢 Upcoming R-Ladies Rome Workshop

    From Data Analysis to Publication: Reproducible Research with R and Quarto

    Learn how to combine code, results, figures, and narrative into a single reproducible workflow using R and Quarto.

    Perfect for students, researchers, and anyone interested in open and reproducible science.

    🎙️ With Betsabé Cohen & Jesica Formoso (R-Ladies+ Buenos Aires)

    📅 Registration: luma.com/j2qxv1pr

  16. Since this chart type is a little bit unusual, here's a little scrollytelling explainer of how to read this chart!

    Link: nrennie.rbind.io/scrollytellin

  17. Am I crazy or the preview option in positron doesn't respect the execute-dir option of a #QuartoPub project?

    EDIT: Ok, kinda. Turns out that manuscripts projects are wonky. If I just use a plain project, it works.

    #rstats

  18. If you have (or are thinking about) moving away from GitHub, GitLab is one alternative. If you're a regular or user, you might find it hard to find information about how those work with .

    So here's a blog post showing you a few different ways to deploy Quarto documents with GitLab Pages!

    (Featuring penguins 🐧obviously )

    Link: nrennie.rbind.io/blog/deploy-q

  19. Here's the finished version of this chart!

    📊 Sunburst chart made with in
    ✋ Dropdown interaction added with {ggiraph} with a few little JavaScript helpers
    📚 Combined with

    Yes, you can make interactives in R without requiring Shiny!

  20. One of my recent side projects has been building a little dashboard to track patterns in ScotRail delays and cancellations. ScotRail *do* currently publish this data, in the form of an often hard to find, inaccessible PDF with a different file for every single day 😭

    So I set up an script to scrape all the data regularly, and stuck it in a Quarto dashboard to see how things are changing over time! 📊

    Link: nrennie.gitlab.io/scotrail-per

  21. RE: social.treehouse.systems/@whit

    Anyone publishing a Quarto blog with Codeberg Pages? I'm new to this automation stuff, and can't decide between WebHooks, Forgejo Actions, and WoodPecker CI. If I use actions or WoodPecker, it would be just for "quarto render"; any R code output is frozen and will be run on my own computer. I have a custom domain.

    #QuartoPub #CodebergPages #GitPages #ForgejoActions #WoodPeckerCI

  22. Prefix plot filenames with figure number in knitr/ #QuartoPub

    ```
    knitr::opts_hooks$set(label = function(options) {
    this_label <- knitr::opts_current$get("label")
    if (!startsWith(this_label, "fig")) {
    return(options)
    }

    all_chunks <- knitr::all_labels(startsWith(label, "fig"))
    fig_num <- which(all_chunks == this_label)
    n <- formatC(fig_num, width = 3, flag = "0")
    new_path <- paste0(options$fig.path, n, "_")

    options$fig.path <- new_path
    return(options)
    })
    ```

    #RStats

  23. "Quarto 2 will include a built-in collaborative editor. . . . The design of those integrations is still taking shape. It is very early in the project. . . . We don't expect to have a public release of Quarto 2 for at least 6 months."
    quarto.org/docs/blog/posts/202
    #QuartoPub

  24. @stepan

    Thanks!

    Replacing the clipboard didn't work for me (just tested it) but I think I partially isolated the problem:

    it seems to happen only with #QuartoPub files.

    Latter I'll test which plugin, LSP or what is causing it

  25. Seriously, how would one submit the LaTex output of creating a manuscript that uses a #QuartoPub theme / extra format for a journal?

    Is everything except figures now included in the "*.tex file", and anyone else should be able to "compile" it without using `quarto`?

    I've never done a LaTex journal submission before ....

    #AcademicChatter #Academic

  26. We are submitting an article to MDPI Metabolites (yes, I'm aware of the general opinion of MDPI as a likely predatory publisher, I can't persuade my PI otherwise, so that's where it's going).

    I'm reaching the limits of Rmd or qmd -> Word, so I'm considering using the #QuartoPub template by @thias_mittner.

    github.com/ihrke/mdpi

    Has anyone else successfully used this template for an actual journal submission to an MDPI journal?

    TIA.

    #AcademicPublishing #RStats