Libby Heeren
@libbyheeren.bsky.social
2.7K followers 400 following 2.5K posts
Posit DS Hangout host & data educator. Data Weasel. Community Builder. Teaches R+Python. 🔉 Heeren == "hair-en" ✨ LinkedIn: https://www.linkedin.com/in/libbyheeren DS Hangout: https://pos.it/dsh
Posts Media Videos Starter Packs
libbyheeren.bsky.social
😮😮😮 AND cool wall hexes! I have some large wooden hexes that I keep meaning to paint 😩
libbyheeren.bsky.social
Thank you!! Yeah, LaTeX is my nemesis, I never feel like I know what I'm doing. I know just enough to be dangerous with google and get things done.
libbyheeren.bsky.social
🍰 Happy 15th anniversary to us 🥂

AND THEN I got nerdsniped so good & ended up in LaTeX-land bc my buddy was trying to get a header image on each page of a #quarto PDF 😂

Anyway, here's how I did it. #LaTeX isn't my thing! Don't judge. Should this be a blog or is it boring? Helpful? #rstats #databs
Smiling couple sitting at a restaurant table, leaning toward the camera. Two water glasses and a cocktail with a lime garnish sit on the white tablecloth. Screenshot of a Quarto document showing YAML front matter. The title is set to ‘Example Doc First Page’. Under format → pdf, the line ‘include-in-header: header.tex’ is highlighted with a green box and arrow pointing to green text that says ‘Put this in your yaml’. Screenshot of a header.tex file open in a text editor. The LaTeX code loads geometry, graphicx, and tikzpagenodes packages, then uses an AddToHook command to apply a background image as a header on every page. Inside a tikzpicture environment, a node is anchored at the top-left of the page, with zero padding, including the image ‘images/FlowerHeader.png’ at full page width.

The full code is as follows:
% This adds a centered image to the top of each page, bleeding to the edges.
% Need a much larger headheight (120pt) to push the text down on this one,
% but your image may be shorter than mine!
\usepackage[includehead,top=0pt,headsep=0pt,headheight=120pt]{geometry}
\usepackage{graphicx}
\usepackage{tikzpagenodes}

% Loop to apply the background image (the header) to every page of the doc
\AddToHook{shipout/background}{%
  \begin{tikzpicture}[remember picture,overlay]
    \node[
      anchor=north west,
      inner sep=0pt,  % remove suble padding around the header image
      outer sep=0pt
    ] at (current page.north west)
      {\includegraphics[width=\paperwidth]{images/FlowerHeader.png}};
  \end{tikzpicture}%
} Screenshot of the RStudio PDF preview pane showing a rendered Quarto document. The first page displays a floral header image with overlaid text ‘THIS IS A HEADER’, followed by the title ‘Example Doc First Page’ and Quarto sample content with text, code, and output. The top of the second page is also visible, showing the repeated floral header with the same overlaid text.
libbyheeren.bsky.social
You have an RStudio yeti?! That is so cool. I think my only RStudio things are the black simple human water bottle (which I love), and the mug
libbyheeren.bsky.social
Realized another annoying habit I have this week: all my project folders/repos start as "test" projects. It's like I can't commit to something being an actual project folder. Later, I have to go change all the names and clean things up 😅 because of course test becomes "actual"

#databs #rstats
libbyheeren.bsky.social
Tell me something you do when you code that other people would tell you that you shouldn't do.

Tell me the rules you break!

I'll go first: I work in untitled files in the wrong project directories all the time. Like, all the time. Yes, I do tend to lose things 😂 #databs #rstats #python
libbyheeren.bsky.social
I'm still defaulting to googling first, and only resorting to an LLM as a last resort 😂
libbyheeren.bsky.social
I could definitely benefit from that. I think I go through phases of using named sections in RStudio and then forgetting they exist! I've also tried real hard to just split things out into separate files and source stuff, but I don't always remember to do that, either 👀
libbyheeren.bsky.social
Code folding is something I almost forget I can even do 😂
libbyheeren.bsky.social
Rarely do I say, "back in my day" about anything, but dang, the youth are so lucky to have hydrocolloid acne patches readily available these days!!
libbyheeren.bsky.social
The color scheme here is so soothing. Note to self: use more slightly muted colors sometimes!
libbyheeren.bsky.social
Omg you totally DID make a basketball court!!
libbyheeren.bsky.social
I used Notability on iPad! It used to be my favorite note taking app!
libbyheeren.bsky.social
Thanks for being brave with me and admitting it 😂
libbyheeren.bsky.social
I kinda like the squares since it's paper!
libbyheeren.bsky.social
Are we thinking round or square for these 🤔
Libby Heeren's name next to her comment on Discord where she's posted four emojis: two happy faces and two sad faces, taken from her school notes. Each pair has one square emoji and one round emoji.
libbyheeren.bsky.social
You can FEEL the grad school, can't you. I had some flashbacks just harvesting them from Discord haha
libbyheeren.bsky.social
I promise it doesn't look as nice these days as the arthritis in my hands has progressed to swamp witch levels hahaha 🧙🏻‍♀️🧙🏻‍♀️🧙🏻‍♀️
libbyheeren.bsky.social
I remember taking a lot of pleasure in drawing out those little Venn diagrams and getting the highlighting colors just right 🥹 Sometimes I miss being in school, but then I remember group projects and I change my tune real quick 🙏
libbyheeren.bsky.social
I bring you a sampling of gifs, memes, and pics I sent to my cohort in the last semester of grad school: a collage.

I was goin' through it, huh.

#databs #rstats #python #sas
libbyheeren.bsky.social
Lots of practice taking lots of notes 😵‍💫
libbyheeren.bsky.social
Good old lattice!! Imagine not even knowing ggplot existed. Just lattice 🙊 I never hated it, either!
libbyheeren.bsky.social
Aw, y'all, I'm finding some of my notes from undergrad, too. Look at the cute little happy face and sad face! I think this was from my multivariate course. I am a color-coder, in case that wasn't clear. #databs #rstats #python #notability
Hand-written statistics notes. The section of notes shown is on selecting covariates. The notes are written in different colors, so it looks like the notetaker was working on an ipad. There are two venn diagrams in the center of the notes depicting proportions of explained variance.