Articles by hrbrmstr

Making It Easier To Experiment With Compiled Swift Code In R

January 26, 2021 | hrbrmstr

The past two posts have (lightly) introduced how to use compiled Swift code in R, but they’ve involved a bunch of “scary” command line machinations and incantations. One feature of {Rcpp} I’ve always ???? is the cppFunction() (“r-lib” zealots have a similar cpp11::cpp_function()) which lets one experiment ...
[Read more...]

Calling [Compiled] Swift from R: Part 2

January 24, 2021 | hrbrmstr

The previous post introduced the topic of how to compile Swift code for use in R using a useless, toy example. This one goes a bit further and makes a case for why one might want to do this by showing how to use one of Apple’s machine learning ... [Read more...]

Safety Checking Locally Installed Package URLs

January 8, 2021 | hrbrmstr

I went completely daft this week and broke my months-long Twitter break due to the domestic terror event in my nation’s capitol. I’ll likely be resuming the break starting today. Whilst keeping up with the final descent of the U.S. into a fully failed state, I also ... [Read more...]

Bringing R to Swift on macOS

January 4, 2021 | hrbrmstr

Over Christmas break I teased some screencaps: A more refined #rstats #swift "SwiftR" example. Simple Image view + some text views, a color picker and a button that runs R-in-Swift code (like {reticulate} does for Python in R) Note no ssd/hd storage round-trip for the plot. Code snippet: https://t....
[Read more...]

Short & Sweet: {cdcfluview} 0.9.2 Is On Its Way to CRAN Mirrors

October 13, 2020 | hrbrmstr

The CDC continues to “deliver” in 2020, this time by changing the JSON response of one of the hidden APIs that my {cdcfluview} package wraps. CDC: So helpful! It was a quick fix, and version 0.9.2 passed automated CRAN checks in ~9.42 minutes! ???? the CRAN team! Plus, a special shout-out to Ian-McGovern (GH ...
[Read more...]

Quick Hit: Speeding Up Data Frame Creation

August 8, 2020 | hrbrmstr

(This is part 2 of n “quick hit” posts, each walking through some approaches to speeding up components of an iterative operation. Go here for part 1). Thanks to the aforementioned previous post, we now have a super fast way of reading individual text files containing HTTP headers from HEAD requests into ... [Read more...]

Aligning the Dots On COVID Prison Waffles

July 24, 2020 | hrbrmstr

The Marshall Project has a solid story and set of visualizations on the impact of COVID-19 in U.S. prisons. They keep the data (and vis) regularly updated. They do great work and this is an important topic, but this visualization breaks my “ordered grid” OCD: To be fair, it’...
[Read more...]

A Look at PAN-OS Versions with a Bit of R

July 10, 2020 | hrbrmstr

The incredibly talented folks over at Bishop Fox were quite generous this week, providing a scanner for figuring out PAN-OS GlobalProtect versions. I’ve been using their decoding technique and date-based fingerprint table to keep an eye on patch status (over at $DAYJOB we help customers, organizations, and national cybersecurity ... [Read more...]

{sergeant} 0.9.0 Is On Its Way to CRAN Mirrors!

June 1, 2020 | hrbrmstr

Tis been a long time coming, but a minor change to default S3 parameters in tibbles finally caused a push of {sergeant} — the R package that lets you use the Apache Drill REST API via {DBI}, {dplyr}, or directly — to CRAN. The CRAN automatic processing system approved the release just ... [Read more...]

RSwitch 1.7.0 Has Been Released

May 25, 2020 | hrbrmstr

I (and, apparently, Gandalf O_o) are pleased to announce that RSwitch version 1.7.0 has been released. (Direct Download) RSwitch is a macOS menubar utility that: makes it dead simple to manage multiple macOS R versions use the latest RStudio daily builds access remote RStudio Server sessions using in a purpose-built ... [Read more...]

New Package — {cdccovidview} — To Work with the U.S. CDC’s New COVID-19 Trackers: COVIDView and COVID-NET

April 11, 2020 | hrbrmstr

The United States Centers for Disease Control (CDC from now on) has setup two new public surveillance resources for COVID-19. Together, COVIDView and COVID-NET provide similar weekly surveillance data as FluView does for influenza-like illnesses (ILI). The COVIDView resources are HTML tables (O_O) and, while the COVID-NET interface provides ...
[Read more...]

The Waffle House Index

March 26, 2020 | hrbrmstr

Waffle House announced it was closing hundreds of stores this week due to SARS-Cov-2 (a.k.a COVID-19). This move garnered quite a bit of media attention since former FEMA Administrator Craig Fugate used the restaurant chain as both an indicator of the immediate and overall severity of a natural ...
[Read more...]
1 2 3 4 21

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)