The final post showed how to work with the macOS mdls command line XML output, but with {swiftr} we can avoid the command line round trip by bridging the low-level Spotlight API (which mdls uses) directly in R via Swift. whether you’ve already played with {swiftr} before but were ...
The post Avoiding The mdls Command Line Round Trip With swiftr::swift_function() first appeared on R-bloggers.
Source: r-bloggers.com