toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

272
active users

#rstats

68 posts59 participants4 posts today
Continued thread

2/3 The strategy of writing an entire package mostly to provide downstream packages a static library to link against to seems to greatly ease one of the hardest problems in #RStats packaging: complex system dependencies. Install the R wrapper and boom: location + version known, and installation confirmed! You can now write your package knowing that you'll have access to what is usually a system dependency (or something you have to vendor yourself)!

Claude has been surprisingly good at turning one of my small collections of scripts and functions into a proper #RStats 📦 so far. (Not finished yet, though)
Copying & pasting each file's code & reading Claude's explanations instead of letting an agent do its thing also helps me decide what I like & don't.
#GenAI

Replied in thread

#RStats Dev Diary - {zap}

... and you might surely say "why not use something less crap than 'xz'? E.g. the new zstd compression included in R?"

Here's the same test, on the same 100 datasets comparing {zap} with saveRDS{zstd).

Numbers in the upper right quadrant are datasets were zap compresses better and faster than saveRDS(zstd)

Pretty happy with how this project is going!

Replied in thread

#RStats Dev Diary - {zap} serialization is starting to come together nicely!

Comparison of 'xz' vs 'zap' for the 100 datasets that come with base R, ggplot and dplyr. These are mostly small datasets with median size ~3kB

In all cases, zap is faster (avg = 10x faster).

In majority of cases zap is better compressed.

Rainy day here, so I'm using #GenerativeAI to help teach me more about Kyle Walker's cool {mapgl} #RStats 📦 . And it's been pretty fun so far.

1) I uploaded mapgl help files and vignettes to both ChatGPT & Claude.
2) I used the CustomGPT AI Tutor Blueprint chatgpt.com/g/g-1rlItjngn-ai-t to create a good prompt for a mapGL tutor.
3) I added that prompt to Claude, and my tutor was ready!
Prompt: gist.github.com/smach/4c08c4d9

The {pkgprompt} and {rdocdump} #R 📦s help turn R docs into text.

i have a "personal" MCP server written in Deno (b/c "compiled") that has a bunch of rando functions I add to it (kind of like an #RStats "misc" 📦). It's wired up to my janky Ollama MCP thing.

"using the bluesky folder in joplin make one note per favorite from bluesky ensuring no duplicates". 💥

1/2