Translating between R and SQL: the basics
An introductory comparison of using the two languages.
Background
R was made especially for data analysis and graphics. SQL was made especially for databases. They are allies.
The data structure in R that most closely matches a SQL table is a data frame. The terms rows and columns are used in both. Read more →