Dr. U

Dr. U

@transport-talk.bsky.social

#rstats user and developer. umairdurrani.com

519 Followers 493 Following 248 Posts Joined Dec 2023
2 months ago

Here is one of my recent apps that uses golem: github.com/durraniu/sto...

golem hasn't changed much so most official examples would work today with little to no changes. Here are more resources: golemverse.org/resources/

1 0 1 0
2 months ago
Introduction | Engineering Production-Grade Shiny Apps A book about engineering shiny application that will later be sent to production. This book cover project management, structuring your project, building a solid testing suite, and optimizing your code...

The best resource for learning {golem} is Engg. prod-grade shiny apps: engineering-shiny.org

Examples are here: github.com/ColinFay/gol...
And here: github.com/ColinFay/gol...
Coronavirus dashboard with {golem}: github.com/JohnCoene/co...

2 0 1 0
3 months ago

Based on the {golem} structure, in an app package, app.R is in the project root and www goes in inst/app. But app.R can also go in inst/app when the app is an add-on.

3 0 1 0
3 months ago

You may propose more books/courses.

1 0 0 0
3 months ago

Would you be interested in completing courses/books in the upcoming #transportation science learning community (TSLC) in 2026? Proposed book clubs:

1. Transport Data Science
2. Road Safety Research
3. Traffic Flow Dynamics
4. Intro. to Urban Accessibility
5. Traffic Simulation with SUMO

#RStats

4 0 1 0
3 months ago

Perhaps the videos on Web APIs for R playlist on dslc YouTube channel?

2 0 1 1
3 months ago
The Mechanics of Machine Learning This book is a primer on machine learning for programmers trying to get up to speed quickly.

The Mechanics of Machine Learning covers just a couple of algorithms (mainly random forest), but shows the general workflow really well: mlbook.explained.ai

2 0 0 0
3 months ago

Hey folks who work/study in any field of transportation, would you be interested in an online community that hosts book clubs, help channels, contests, etc.? What would you like to see in it? #RStats #transportation

7 0 0 0
3 months ago

I got rid of the RStudio splash screen by setting the environment variable RS_NO_SPLASH with value 1. Restart RStudio and it should be gone.

3 0 0 0
3 months ago
Video thumbnail

Quarto fenced divs, custom layout, and SCSS can make pretty nice websites.

Website: quarto-bighead.netlify.app
Source: github.com/durraniu/qua...

#RStats #Quarto

9 0 2 0
3 months ago

rv may be a good option for you: github.com/A2-ai/rv

1 0 0 0
3 months ago

My R+AI Conf talk is now available on YouTube: youtu.be/828KuEORQdg?...

I talked about my R package {brandthis} that helps you getting started with theming your quarto outputs and shiny apps by quickly generating brand.yml files and color palettes for R and Python plots

#RStats

25 2 0 0
4 months ago

Or use {conflicted}

3 0 0 0
4 months ago

Congrats!

1 0 0 0
4 months ago
Preview
GitHub - michdess/tailwind: Website clones/examples using Tailwind CSS. Website clones/examples using Tailwind CSS. Contribute to michdess/tailwind development by creating an account on GitHub.

Yes, tailwind CSS only. No other JS libraries were used. Original tailwind source for the example is: github.com/michdess/tai...

2 0 0 0
4 months ago
Brand Your Docs, Apps, and ggplots Using LLMs

Thanks @rconsortium.bsky.social for organizing the R + AI conference. The slides for my talk are available here: dru.quarto.pub/brandthis/#/...
#RStats

6 0 0 0
4 months ago

Glad you liked the talk. Let me know if you try {brandthis} and anything that can be improved.

1 0 1 0
4 months ago
Video thumbnail

Can you believe this is made with {ambiorix} + tailwind? #RStats

5 0 1 1
4 months ago
Screenshot showing speakers from the upcoming R+AI event - View of many headshots

TOMORROW! R+AI 2025 goes live!

Highlights:
• Joe Cheng (Posit): Keeping LLMs in Their Lane
• Oracle ML: RAG from your DB (Hornick & LaMonica)
• Troy Hernandez: Stable Diffusion in R
• Many, many more!

Nov 12–13. See the full program and register: rconsortium.github.io/RplusAI_webs...

#rstats #AI

10 4 0 0
4 months ago

No cheat sheet, but a lot of shortcuts in Positron are from VSCode.

1 0 1 0
4 months ago

CTRL + / is so good for commenting in any language in positron!

# R/Python
// CSS/JS
<!-- HTML -->

#RStats

5 0 1 0
4 months ago
Video thumbnail

createBranding app is now available with the {brandthis} R package: github.com/durraniu/bra...

Use LLM to generate brand.yml -> Review and iterate on results -> Create color palettes for plots

Credit goes to the brand.yml app in {bslib}. Thanks @grrrck.xyz

#RStats

8 1 0 0
4 months ago

Found it, it was tidychatmodels: github.com/AlbertRapp/t...

1 0 0 0
4 months ago
Post image

Did the chat interface use to be pipeable in {ellmer}? I saw this in a talk on the @landeranalytics.com channel: youtu.be/OLXp7I7xmtU?...

But could not find the functions add_model, add_params, etc. in {ellmer} docs.

#RStats @hadley.nz

2 0 1 0
4 months ago
Post image

{brandthis} is ready to install. Try it and let me know if anything breaks: github.com/durraniu/bra...

Here's an example site that uses the generated _brand.yml and color palettes: dru.quarto.pub/brandthis-de...
#RStats

11 7 0 0
4 months ago
Video thumbnail

TIL that brand.yml works for closeread outputs! #RStats

2 0 0 0
4 months ago

Try CTRL + /

2 2 1 0
4 months ago
Video thumbnail

{brandthis} R package is almost ready with functions for:

* Generating _brand.yml

* Color scale suggestions from {ggsci} and {paletteer}

* Generating discrete, sequential, and diverging color palettes from the _brand.yml color palette

#RStats

15 3 0 0
4 months ago

Plotting. ggplot2 interface makes sense to me compared to matplotlib and Observable.
Also, ellmer >> chatlas because WTH is pydantic?

6 0 1 0
4 months ago
YouTube
Web APIs for useRs: Getting data from websites, databases, and LLMs - Umair Durrani YouTube video by useR! Conference

My useR! 2025 talk on Web APIs with R is now available on youtube: www.youtube.com/watch?v=XPMs...

I showed the basic workflow of {httr2} and how to create fictional stories by calling LLM provider APIs. #RStats

16 2 0 0