Calling [Compiled] Swift from R: Part 2

| | macos, R, SWIFT
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 libraries, ... Read More

SwiftR Switcheroo: Calling [Compiled] Swift from R!

| | macos, R, SWIFT
I’ve been on a Swift + R bender for a while now, but have been envious of the pure macOS/iOS (et al) folks who get to use Apple’s seriously ++good machine learning libraries, which are even more robust on the new M1 hardware (it’s cool having hardware components dedicated to ... Read More
New SwiftR Chapter Up: Building an R-backed SwiftUI macOS App

New SwiftR Chapter Up: Building an R-backed SwiftUI macOS App

| | Apple, macos, R, SWIFT
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 ... Read More
Trump: I could shoot somebody and not lose voters

Nos Autem Non In Antebellum; Bella Iam Inceperat

| | Commentary
(Leading this with the periodic warning/reminder that this blog occasionally breaks from technical content and has category-based RSS feeds which can be used to ensure one never see non-technical content.) Every decent human (which excludes 74,222,958 🇺🇸 who voted for this, now 100% undeniable, traitor) with knowledge of this past ... Read More

Safety Checking Locally Installed Package URLs

| | R
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 noticed that a ... Read More
❌

Bringing R to Swift on macOS

| | Apple, macos, R, SWIFT
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 ... Read More
🔗

Access the Internet Archive Advanced Search/Scrape API with wayback (+ a links to a new vignette & pkgdown site)

| | R
The wayback🔗 package has had an update to more efficiently retrieve mementos and added support for working with the Internet Archive’s advanced search+scrape API. Search/Scrape The search/scrape interface lets you examine the IA collections and download what you are after (programmatically). The main function is ia_scrape() but you can also ... Read More