Is it possible to set a #quarto code chunk in #rstats to execute only if a variable has a specific value? I am setting up parameterized reports and some code blocks are extraneous for some reports in which sets of variables have missing values.
🤯 Running into a puzzling paradox with my #quarto .qmd file. The code chunk sails smoothly when running manually, but throws an error in a calculation within the chunk when I try to render it. 🧐 Is there a significant contrast in code execution during rendering that could lead to errors within an internal function in the chunk? 🤔 #rstats
Discover the magic of integrating a serverless #rstats#ahiny app into your #Quarto document using #RShinylive! ✨ Learn step-by-step and elevate your interactive data storytelling game. 🔥
I wanted to add a bluesky icon to my quarto website, but it seems there is not yet a font awesome icon available. What icon would/do you use instead? #Bluesky#quarto
You can render to epub - so great that resources like https://r4ds.had.co.nz/index.html that are actually quarto books can be rendered as an epub just by changing the .yaml format
(I realised recently you can also do this with bookdown which is amazing)
@andrew I've been working on updating my website to use #Quarto and I've been using the code from yours as a guide (it's great).
One weird issue I'm running into and I'm curious if you've run into this before: if I run code interactively in VS Code, it will always set the terminal location to the project root, not the file location. This does not seem to be an issue in RStudio. I noticed your git includes files for VS Code and RStduio so I was curious if you've run into this before.
(1/3) I am excited to share that my course - Data Pipeline Automation with GitHub Actions Using R and Python 🚀, is now available on LinkedIn Learning!
The course provides an introduction to setting up automation with GitHub Actions with both R and Python. Throughout the course, we will use a real-life example by working with the U.S. Energy Information Administration (EIA) API for data automation. 🧵👇🏼
TOMORROW! @scheidegger joins us at ESIP's Rants & Raves to talk about #quarto, about bridging the gaps between #Python and #RStats, and about the sharp edges of software. If you've ever wanted to collaborate across the divide, this talk is for you.
The US government has data on covid incidence and vaccination in nursing homes. It's rather shocking: nearly half of nursing homes have NO healthcare staff fully vaccinated. The data are at https://data.cms.gov/covid-19/covid-19-nursing-home-data, but to help get more attention on this, I launched a quick website visualizing the data:
Does #Quarto not support alt-text for figures when rendering a PDF? I used {fig-alt="my alt text"} after the image, and it printed out to the body of the pdf document. Perhaps this is only for html? Any work arounds? #RStats
(1/2) Holy 🐮, did you know there is a Grammarly extension to VScode?!? 📚📖📒
TIL that there is a #VScode extension to plug in #Grammarly to VScode that enables text editing directly on VScode. I started to use Grammarly when I wrote my first book, and since then, this is my go-to app for text editing. I used VScode as #markdown and #Quarto editor, and so far, I had to do a ton of copy-paste between VScode and Grammarly. Hopefully, now, this extension will make this process more efficient. 👇🏼
#quarto hive mind. I'm working on a project where I want to generate graphs in Julia but I don't want to show any of the code that generates the graph. The point of the project is to discuss how to do mathematical models without reference to any particular kind of code, so I want to plot data, but not distract the reader with syntax. Are there options to include "hidden" cells to do the plots, but still show the graphical output?
I've got to make an anonymised version of a document for reviewers. I've prepared the document in Quarto, so am wondering if anyone knows how to set it up to redact bits of text (ie print section as black text against black background). Would be great if I could do this with a simple setting, rather than going through doing it manually after creating word document.
Thanks #RMarkdown#Quarto#anonymisation
I recently experimented preparing with #quarto the lecture notes of a data-science course. My reason for choosing Quarto was to have a web version and a pdf version at once. Unfortunately that didn't work: the resulting pdf looks very bad, from placement of figures to maths macros. Trying to make it look nicer leads to a heavy need of learning and programming in Lua. So I gave up on the pdf and focused on the web version only.
I must now prepare lecture notes for a new course, and am faced again with this choice. This time I'm thinking of going with the pdf version, using #latex or #xetex. As I see it, the advantages are:
pdf is more portable: most browsers can immediately display a pdf, and you can also download it and read it on your laptop, notebook, phone – or print it nicely;
I have way more flexibility in typesetting and font formatting, maths notation, and general personalization using LaTeX.
More powerful editing tools for LaTeX, with #emacs + #auctex , than for Quarto.
The only disadvantage I can think of is with video or audio media, but I won't need much of that; and links can be given in a pdf.
However, I'm babbling about this here to ask you about other factors (in favour of web+quarto or pdf+latex) that I may not have thought about. Any thoughts?
[Side note: some might say that Quarto allows to do heavy customization of a pdf too. Maybe, but only if you learn Lua programming and deal with its intricacies. Then any advantages are lost: I can simply use LaTeX/XeTeX/LuaTeX.]
Excited to see Mitchell O'Hara-Wild use the the letterbox revealjs theme I created! The slides are wonderful, insightful and uses the theme to its fullest!
anyone know how to get PR preview deploys from netlify of #rstats#quarto websites? seems like PR preview deploys require building the site on netlify itself? but I don't see how the site can be built on netlify. any ideas?
Q for #rstats#quarto users in #vscode - am I right that there is no way to see the final appearance of a plot other than rendering the document? There is no preview - other than in rstudio - which gives an accurate representation? The vsc plot window follows its own dimension (distorts proportions).
Love vs code but re-rendering the whole doc for each plot iteration feels quite cumbersome. Tagging the mighty @andrew since I think there was a related discussion on GH which I can't find..🙏🙏👏👏
Joint event by R-Ladies Cologne (@cosima_meyer and
Gabe Winter) and R-Ladies Bergen (Jonelle and me): we're thrilled to be hosting Mine Çetinkaya-Rundel who will teach us about Quarto 🥳 👩💻
This is a kick-off event for a brand-new book club, where we'll be going through the book "Building reproducible analytical pipelines with R". Come, join us!
quarto will render this as three separate lists, so the sub-list will not be indented. I can manually insert a <ul></ul> and get something close to what I want, but am I missing some other work-around for this?