Niels Berglund has an excellent series on R Services internals. Here’s the latest post:
This post is the ninth post about Microsoft SQL Server R Services, and the eight post that drills down into the internal of how it works.
So far in this series we have been looking at what happens in SQL Server as well as the launchpad service when we execute
sp_execute_external_script, and we have still no real “clue” to where the R engine comes into play.
Well, hopefully that will change (at least a little bit) with this post, as we here will look at what happens when we leave the launchpad service.
This series is like candy to me. It’s the best write-up I’ve seen so far about what’s really happening when you run SQL Server R Services.