Apple is in the final stages of shuttering the DarkSky service/API. They’ve replaced it with WeatherKit, which has both an xOS framework version as well as a REST API. To use either, you need to be a member of the Apple Developer Program (ADP) — $99.00/USD per-year — and calls to the service via either… Continue reading
Post Category → Apple
Introducing {weatherkit}: The Eventual Replacement R Package for {darksky}
My {darksky} package has been around for years, now, and the service that powers it was purchased by Apple before the pandemic. The DarkSky API is slated to be shuttered in December of this year and is being replaced by Apple’s WeatherKit xOS Framework and REST API. I’ve started work on a {weatherkit} package which… Continue reading
New TabularData Available in Swift on macOS Monterery (et al)
WWDC 2021 is on this week and many new fun things are being introduced, including some data science-friendly additions to the frameworks that come with Xcode 13 and available on macOS 12+ (and its *OS cousins). Specifically, Apple has made tabular data a first-class citizen with the new TabularData app service. A future post will… Continue reading
archinfo v0.4.0 Released
My archinfo utility is a small macOS command line application that displays process id, name, and architecture (arm64 or x86_64). Version 0.4.0 adds the following capabilities: Added –x86 (-x short option) to have archinfo only show x86_64 processes Added –arm (-a short option) to have archinfo only show arm64 processes Added –basename (-b short option)… Continue reading
Retrieve Process Run-time Architecture on Apple Silicon Macs On The Command Line with `archinfo`
Apple M1/Apple Silicon/arm64 macOS can run x86_64 programs via Rosetta and most M1 systems currently (~March 2021) very likely run a mix of x86_64 and arm64 processes. Activity Monitor can show the architecture: but command line tools such as ps and top do not due to Apple hiding the details of the proper sysctl() incantations… Continue reading
New SwiftR Chapter Up: Building an R-backed SwiftUI macOS App
Last week I introduced a new bookdown series on how to embed R into a macOS Swift application. The initial chapters focused on core concepts and showed how to build a macOS compiled, binary command line application that uses embedded R for some functionality. This week, a new chapter is up that walks you though… Continue reading
Bringing R to Swift on macOS
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.co/fWaHnztUgd pic.twitter.com/y5m1I16tCB — Caliban's War (@hrbrmstr) December… Continue reading
RSwitch 1.7.0 Has Been Released
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 browser that lets you use… Continue reading