troy_phd

troy_phd

@troyhernandez.bsky.social

AI founder, Dad, #Rstats

138 Followers 242 Following 45 Posts Joined Nov 2023
1 hour ago

#rstats whisper Release
~18x speedup by fixing things that shouldn’t have been broken in the first place: a pipeline object, SDPA, hard coded constants.
Plus multilingual support and per-word/token timestamps now.

3 0 0 0
4 days ago

rformat 0.1.0 is on CRAN. Base R-inspired code formatter built on utils::getParseData(), R's built-in AST. One Import: Rcpp, so it's lightning fast.

install.packages("rformat")
rformat::rformat_file("my_script.R")

#tinyverse #rstats

5 2 0 0
5 days ago
Preview
Using an R language server with Claude Code – Christopher T. Kenny Giving Claude access to an R LSP to improve its interaction with your codebase.

Here's a quick guide to setting up an R LSP for Claude Code in #rstats: christophertkenny.com/posts/2026-0...

Note that it uses the `languageserver` package at the moment, since I don't believe ark is exposed for a standalone mode yet.

15 4 1 0
2 weeks ago

years of base #rstats meant I had no problem reading this

22 7 3 1
3 weeks ago

I just hate tibbles so much.
(don't @ me)

140 8 35 16
3 weeks ago

Feb. update to the LLM+R guide 💪

8 new packages including:
code review, predictive modeling, speech-to-text, text-to-speech, HuggingFace integration, Gemini CLI companion, a CLI coding agent written in R🤯 ,and more!

available in English 🇱🇷 and Spanish 🇲🇽
luisdva.github.io/llmsr-book/
#rstats

34 10 0 2
1 month ago

When I was writing code by hand, unit tests felt close to useless because I knew precisely what every line of code was doing.
When Claude can generate 20k LOC before breakfast, test driven development becomes very necessary.

6 1 0 0
1 month ago

Happy Friday!
Thanks #CRAN!

2 0 0 0
1 month ago

> some have LLM help visible in the GitHub contributors list
Guilty! 😅🤣🤖
Did I have the ability to do these projects without AI? Yes.
Did I have the time to do these projects without AI? No.
bsky.app/profile/troy...

0 1 1 0
1 month ago
The Tinyverse Development Toolchain Every R package we’ve released over the past two weeks was built with the same set of tools. Today we’re making those tools public. The sidequest eraCLI coding tools like Claude Code (and even llamaR!...

For our recent package releases, I’ve been using a lightweight, AI-friendly R workflow built around `littler` and 4 new tinyverse-inspired development packages we released today!
#rstats #tinyverse #ClaudeCode
cornball.ai/posts/tinyve...

12 2 0 1
1 month ago

If you haven't noticed, I've been using #claudecode to port AI (and related) projects we've long had in the queue.
For any #rstats weekend warriors out there who want come join us in porting Moltbot/ClawdCode/OpenClaw to R, we're pretty far already:
github.com/cornball-ai/...

6 0 0 0
1 month ago
GitHub - cornball-ai/cornfab Contribute to cornball-ai/cornfab development by creating an account on GitHub.

Code
Shiny: github.com/cornball-ai/...
tts.api: github.com/cornball-ai/...
chatterbox: github.com/cornball-ai/...

0 0 0 0
1 month ago
Text-to-Speech in R Last week we released our speech-to-text stack. This week, we’re going the other direction. Today we’re releasing a text-to-speech stack for R: native inference, API wrappers, Docker containers, and a...

This week’s project: a full text-to-speech stack in R.

Native R torch implementation (chatterbox), API routing (tts.api), Docker containers, and a Shiny app (cornfab).

Pick your backend, generate speech.

Write-up:
cornball.ai/posts/text-t...
#rstats #chatterbox #qwen3-tts

16 3 1 0
1 month ago

Repo creation gotcha: `gh repo create` doesn't auto-watch repos like the web UI does. After creating repos via CLI, manually watch them:
gh auth refresh -s notifications # One-time: add scope
gh api -X PUT repos/OWNER/REPO/subscription -f subscribed=true
#ClaudeCode #GitHub #rstats

4 0 0 0
1 month ago
Preview
GitHub - cornball-ai/earshot: Shiny app for speech-to-text using stt.api Shiny app for speech-to-text using stt.api. Contribute to cornball-ai/earshot development by creating an account on GitHub.

And here's the overly functional sidequest to the whisper sidequest, a shiny app for STT.
You can use my torch-based whisper package, the C++ based audio.whisper package, the OpenAI api, or an OpenAi-compatible container.
Now with streaming transcriptions!
github.com/cornball-ai/...

1 0 0 0
1 month ago
Preview
GitHub - cornball-ai/whisper: Native R torch implementation of OpenAI Whisper for speech-to-text transcription Native R torch implementation of OpenAI Whisper for speech-to-text transcription - cornball-ai/whisper

Here's the Whisper repo:
github.com/cornball-ai/...

3 0 1 0
1 month ago
Speech-to-Text in R speech-to-text is not the most exciting thing in the world of AI these days, but today we’re announcing the release of three R packages that together provide a complete speech-to-text solution using j...

Buried the lede yesterday: OpenAI’s Whisper speech-to-text model now runs natively in R via torch.

Local inference, CRAN-bound (🤞)

Blog + packages:
cornball.ai/posts/speech...
#rstats

14 1 2 0
1 month ago

Delivered:
bsky.app/profile/troy...

0 0 0 0
1 month ago
Speech-to-Text in R speech-to-text is not the most exciting thing in the world of AI these days, but today we’re announcing the release of three R packages that together provide a complete speech-to-text solution using j...

Last week I said stay tuned. Here's a slice of what I've been up to.
Added streaming to the app while writing this post. Finished right before Claude Code went down 😅
cornball.ai/posts/speech...

1 0 0 1
2 months ago

This has not been my experience at all. Although I am one of those #baseR and #tinyverse partisans...
Last spring, chatGPT was terrible and Claude was decent with #rstats. This winter, Claude Code has been 🤯
Many fun side-quests that would've taken 2-3 weeks are done in an hour.
More on this soon

7 0 1 0
2 months ago

How so?

0 0 0 0
2 months ago
A flower petal on a CPU
1 0 0 0
2 months ago

That would be an image to image task and you can use the img2img() function to test it out. Be sure to play with the prompts and parameters.

0 0 0 0
3 months ago

"R #language is making a comeback" – Tiobe

#RStats

https://www.infoworld.com/article/4102696/r-language-is-making-a-comeback-tiobe.html

4 2 0 0
3 months ago

Starts tomorrow morning!
Register now! (free)
My talk on diffuseR will be Friday

4 1 0 0
3 months ago
Preview
ibm-granite/granite-docling-258M · Hugging Face We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Not sure if it’s ollama supported but heard good things about this… could just be my former colleagues drinking the Kool Aid but hopefully not
huggingface.co/ibm-granite/...

1 0 0 0
3 months ago

Been saying this for decades, and _actually meant it_. There is so much sanity checking done in a package that it absolutely certainly unquestionably is the correct container to assemble #Rstats code in.

9 2 0 0
3 months ago

#rstats #python fortune!

"Suffice to say it takes a certain lack of empathy for your fellow human to design a language where whitespace bugs are a thing."

~Claus Wilke, 2025 blog.genesmindsmachines.com/p/python-is-...

8 2 2 0
3 months ago

#rstats Well worth reading.
Programming languages for statistical computing and graphics show provide the shortest path between an idea in your head and result on your screen or in your paper

6 1 0 0
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