Sign in

Dr. Albert Rapp

@albertrapp.bsky.social
692 followers 107 following 61 posts

Building data solutions at work, sharing R knowledge after hours.

PostsRepliesMedia
Dr. Albert Rapp @albertrapp.bsky.social · 17/03/2025
Want to build AI Bots with R? Combining the {ellmer} package with the Shiny framework might be exactly what you need. And I'm happy to share that I get to talk about how that works at this year's ShinyConf 🎉 If you want to join, you can still sign up at www.shinyconf.com/agenda #rstats
161
Dr. Albert Rapp @albertrapp.bsky.social · 11/03/2025
Ever wanted to restrict your Quarto project to only a few select people? You can do so by 1️⃣ Hosting your project on Azure Static Web Apps 2️⃣ Creating your own user base via Azure's AAD B2C service 3️⃣ Configuring your app so that it only allows users from your user base #rstats (1/2)
261
Dr. Albert Rapp @albertrapp.bsky.social · 04/03/2025
The nice thing about hosting a Quarto project on Azure is that you can easily enable social logins via vendors like GitHub, Apple or Google. All you have to do is 1️⃣ Add an "auth" section to your config file 2️⃣ Get a client from the identity provider (e.g. Google) (1/3) #rstats #datascience
150
Dr. Albert Rapp @albertrapp.bsky.social · 25/02/2025
I used to think that securing a Quarto website is about writing lots of code. But really it only requires ✅ hosting on Azure static web apps, ✅ creating a JSON file inside of your Quarto project, and ✅ filling that file with values that you can look up in the docs. #rstats #datascience (1/2)
060
Dr. Albert Rapp @albertrapp.bsky.social · 18/02/2025
Hosting Quarto projects on Azure is an easy way to add user authentication to your project. That way, only selected users can access your web page. All you need for that is 🔹 a GitHub repo, 🔹 an Azure subscription, and 🔹 Azure's static web apps service.
1121
Dr. Albert Rapp @albertrapp.bsky.social · 11/02/2025
It's fascinating how easy text analysis has become in recent years. Nowadays, text analysis reduces to 1️⃣ feeding a document/image to an OCR service like Textract, and 2️⃣ sticking the results into an LLM. No huge entry barriers for data scientists to dive into text processing. #rstats #datascience
140
Dr. Albert Rapp @albertrapp.bsky.social · 02/02/2025
New chapter for the "AI With R" book 🥳 We're getting started with the {ellmer} package. This package has lots of features like ✅ tool calling to mix AI with traditional functions, ✅ structured output to extract infos, and ✅ async streams to build chat bots. #rstats #AI #datascience
1144
Dr. Albert Rapp @albertrapp.bsky.social · 28/01/2025
With AI, it's really easy to process invoices or other documents using R. Here's what you have to do: #rstats #AI
1101
Dr. Albert Rapp @albertrapp.bsky.social · 27/01/2025
New Project: AI With R 🥳 I've been writing about how to use AI/LLMs with R. So I'm happy to share that I'm starting to collect all the materials in one central space. You can read the first two chapters at buff.ly/3PQNzWz #rstats #AI
1101
Reposted by Dr. Albert Rapp
Teun van den Brand @teunbrand.bsky.social · 13/12/2024
Some P on WIP. #ggplot2 #rstats
Scatterplot of the gapminder dataset showing GDP per capita on the x-axis and life expectancy on the y-axis. The points are filled by continent and sized by population. The size legend is displayed as a series of rings of increasing size anchored at the bottom.
2131
Dr. Albert Rapp @albertrapp.bsky.social · 10/12/2024
Check out this AI chat-bot I built with #rstats using {elmer} and {shiny} 🥳 The crucial steps are 1️⃣ Insert textboxes with insertUI() 2️⃣ Stream LLM responses into the textboxes Want more details? Tomorrow, I show 3200+ readers how I built this thing. You can join us at 3mw.albert-rapp.de/subscribe
180
Dr. Albert Rapp @albertrapp.bsky.social · 04/12/2024
My solution to today's #adventofcode in #rstats. Took me a while to realize that I can get reverse diagonals by just using diag() on the matrix with column indices chosen descendingly 😅
070
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
#rstats/#python question: Why is it so hard for IDEs to find surrounding Py-code when I'm executing multiline code with Ctrl+Enter? In R or rather RStudio, multiline statements always get executed as a whole. I'm assuming this is a hard problem in Python but anyone knows why that's the case? 🤔
110
Dr. Albert Rapp @albertrapp.bsky.social · 03/12/2024
Glad to see that the #rstats community is sharing their #AdventOfCode solutions. Here's mine. For some reason it was a pain to get the regex for Part 2 right so I just brute-forced it (find indices between all don't and dos and then remove those chars) 🤣 btw is there an R leaderboard this year? 🤔
250
Dr. Albert Rapp @albertrapp.bsky.social · 27/11/2024
Video editing becomes 2x more fun when you get to include your favorite dumb memes 😂 #Rstats
040
Reposted by Dr. Albert Rapp
Hadley Wickham @hadley.nz · 25/11/2024
I'm writing up a brief history of the tidyverse? What do you want to know about it? #rstats
83521111
Dr. Albert Rapp @albertrapp.bsky.social · 25/11/2024
Look at this fantastic diamond chart 🤩 You can create such a beauty with ggplot using one simple trick: 1️ Use a regular grid and plot all texts at a 45 degree angle 2️⃣ Turn the whole chart counter-clockwise Pretty dope trick that I've learned from a tutorial on the F5 Newsletter. (1/2) #Rstats
160
Dr. Albert Rapp @albertrapp.bsky.social · 24/11/2024
Yes Quarto is fantastic. 🥳 More people should use it 🤗
060
Dr. Albert Rapp @albertrapp.bsky.social · 20/11/2024
The only mistake that's worse than forgetting ns() is forgetting useShinyjs(). Gets me every time 🤦🏼‍♂️😅 #rstats #shiny
030
Dr. Albert Rapp @albertrapp.bsky.social · 19/11/2024
I'd love to follow the base R vs tidyverse flame war but it seems like I've forgot how to read convoluted posts and comments since the Twitter days 🤔😂 #Rstats
140
Dr. Albert Rapp @albertrapp.bsky.social · 19/11/2024
Hi #RStats data friends 👋 Guess I'm doing this and joining the Bluesky data fun 🥳 I won't give up LinkedIn but I've been craving for dishing out more short-form R hacks. Hope to fill that void with Bluesky ✌️
1202
Dr. Albert Rapp @albertrapp.bsky.social · 19/11/2024
My 3-minute newsletter is celebrating its 100th edition 🥳 Can't believe I've been doing this for ~2 years already 🤯 To celebrate, I'll share my best programming tips. If you're curious & want to join 3100+ readers, you can still sign-up at buff.ly/3PRzat5 #RStats
061