DataAngler, to random
@DataAngler@vis.social avatar

Is it possible to set a code chunk in 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.

MikeMahoney218, to random
@MikeMahoney218@fosstodon.org avatar

hey #quarto , does anyone have an example of using the new custom cross-references to label tables? I think my YAML makes sense:

crossref:
custom:

  • kind: float
    key: supptbl
    reference-prefix: Table S

But neither
#| label: supptbl-something

nor
::: {#supptbl-something}

seem to actually work

https://quarto.org/docs/authoring/cross-references-custom.html

lwpembleton, to random
@lwpembleton@genomic.social avatar

🤯 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

coatless, to random
@coatless@mastodon.social avatar

📽️ New Video Alert!

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

https://www.youtube.com/watch?v=6y2FnAugP8E

meghansharris, to random
@meghansharris@fosstodon.org avatar

Too much crappy personal stuff going on means insomnia and conf work. These are coming along (But subject to change):

made in with . Slides made in

A slide that shows the content of the talk titled it's all about perspective. The bottom is filled with rainbow colored abstract shapes on a dark background

pydemullenheim, to bluesky

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?

Dan, to rstats
@Dan@aus.social avatar

So another @rstats wonder!

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)

absolutely going to go and make a donation at https://www.doc.govt.nz/kakapo-donate

carl, to random
@carl@hci.social avatar

@andrew I've been working on updating my website to use 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.

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(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. 🧵👇🏼

#rstats #python #datascience #github #quarto #data #docker

MikeMahoney218, to python
@MikeMahoney218@fosstodon.org avatar

TOMORROW! @scheidegger joins us at ESIP's Rants & Raves to talk about , about bridging the gaps between and , and about the sharp edges of software. If you've ever wanted to collaborate across the divide, this talk is for you.

Anyone interested is welcome to join! Find out more information at:
https://www.esipfed.org/get-involved/collaborate/iti

And find the Zoom link and other information on our calendar (mouse over "IT&I"):
https://www.esipfed.org/get-involved/community-calendar

coolbutuseless, to random
@coolbutuseless@fosstodon.org avatar

gurus: does anyone know how to define a new chunk type?

e.g. say I wanted a cobol chunk

How can I

  • define handling the code in the chunk?
  • Access/handle the chunk options?
  • capture and return output for the final document

kfitz, to random
@kfitz@hcommons.social avatar

Can anyone tell me how customized Quarto's version of reveal.js is? Are the modifications all handled through available plugins?

omearabrian, to random

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:

https://nursinghomecovid.info

that allows drilling down to individual facilities.


Scatter plot showing each nursing home in the US and its covid resident death rate, percentage of residents fully vaccinated, and with color the percentage of healthcare staff fully vaccinated.

kbelisari0, to random
@kbelisari0@fediscience.org avatar

Does 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?

adriangadientbruegger, to CSS Afar

Dear users: I’m trying to write my first custom template/ extension. In some examples I looked at there are and files.

Can anyone explain me what their purpose and difference is? What should I put in which of them?

Links to tutorials / documentation are highly welcomed!

ramikrispin, to vscode
@ramikrispin@mstdn.social avatar

(1/2) Holy 🐮, did you know there is a Grammarly extension to VScode?!? 📚📖📒

TIL that there is a extension to plug in 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 and 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. 👇🏼

dlakelan, to random
@dlakelan@mastodon.sdf.org avatar

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?

deevybee, to random
@deevybee@mastodon.social avatar

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

pglpm, to emacs
@pglpm@emacs.ch avatar

Quarto+web or LaTeX+pdf?

I recently experimented preparing with 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 or . 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 + , 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.]

MickaelCanouil, to python
@MickaelCanouil@fosstodon.org avatar

You saw or you made something related to Quarto?
You want it to be seen/shared?
Please submit a suggestion issue to (https://github.com/mcanouil/awesome-quarto)
PS: if you like this list, star it and share it 😉

emilhvitfeldt, to random
@emilhvitfeldt@fosstodon.org avatar

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!

#quarto
https://slides.mitchelloharawild.com/nyr2023/
https://github.com/EmilHvitfeldt/quarto-revealjs-letterbox

sckottie, to random
@sckottie@fosstodon.org avatar

anyone know how to get PR preview deploys from netlify of 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?

zoowalk, to vscode
@zoowalk@mastodon.social avatar

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..🙏🙏👏👏

jromanowska, to delhi
@jromanowska@fosstodon.org avatar

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!

https://www.meetup.com/rladies-bergen/events/295922921

millerdl, to random
@millerdl@mathstodon.xyz avatar

pals, if I have a nested set of lists:

  1. thing
  2. another thing
    a. sub thing
    b. second sub thing
  3. back here again

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?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • khanakhh
  • Youngstown
  • ngwrru68w68
  • slotface
  • mdbf
  • rosin
  • Durango
  • kavyap
  • osvaldo12
  • JUstTest
  • cubers
  • tacticalgear
  • tester
  • cisconetworking
  • everett
  • ethstaker
  • modclub
  • GTA5RPClips
  • Leos
  • megavids
  • anitta
  • normalnudes
  • lostlight
  • All magazines