R and SQL are often used together in data science projects. R can be used to perform statistical analysis on data extracted from a database using SQL. SQL can also be used to load data into R for further analysis.