Database Connections in R

A overview of how to connect to, and use SQL databases in R.

SQL Server Database connections in R

Getting data into R One of the things I found most difficult when learning R was getting data from our SQL Servers into R to analyse. It is easy to load csv files, or pull example datasets from packages, but a little more knowledge is required to connect to external databases. I think this is a common problem for my NHS colleagues when learning R and probably for others too.