Skip to main content

Pretty Good Hat

Tag: rstats

I learned today that one of the magical things pandoc can do under the hood for Quarto is use a Powerpoint template to render slides. I can work in RStudio to make slides in my company’s style; this is amazing!

(Footnote: This assumes a template that uses at least some standard powerpoint slide notation, which my company’s official templates do … not quite do. But a little bit of revision of the slide master got me there!)

Got nginx running on my MacBook today, as part of building some working-with-APIs-infrastructure for a small tutorial I want to write on working with oauth in Shiny. Good step!

I’m officially on vacation, but there’s so much that I want to “bring back” to work with me from this week’s rstudio::conf. Looking forward to one more day with this community of folks doing and learning things.

Two windows from the RStudio profvis tool, showing the times of several procesess. The second window shows the same process being completed dramatically more quickly than the first.

I used the RStudio tool profvis this weekend to find speed improvement opportunities in Armorer. I suspected that I could rewrite a big operation that calculates the maximum of many columns across several thousand rows. Holy smokes: Using matrixStats::rowMaxs cuts processing time by an amazing amount!

Screenshot of a web application showing two items selected from a form field. They are circled in bright purple marker with an arrow pointing to them to draw the eye.

I finished a big update to Armorer this week, to enable inclusion of subclass fragments in stat calculations. I learned a ton with this release and laid good groundwork for additional mod management. I’m pretty pleased!

I’m happy to have improved some R code today using group_split, replacing my prior method of cycling through a data frame to build several new subsets. I’m not sure it’s more efficient given the size of the data set, but it sure reads more nicely.

Super-pleased to see that a couple of small Shiny app improvements I made this weekend correctly picked up on some source data changes today and automatically handled them. Pretty cool!

Having seen how easy it was to convert a couple of hobby projects to use {pins}, I’m now daydreaming about putting it at the center of an S3 data lake operation.

I successfully made some small changes in a Shiny app to use the {pins} package to separate out a support file and data definitions from the app bundle itself. This lets me revise supporting information without needing to republish the app. It’s pretty cool! I’m excited to use the package lots more.