# Using Stata and R together

**R – Dataviz – Stats – Bayes**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I’m running a one day course with Timberlake, Stata’s UK distributors on this topic. We’ll run it next Friday the 9th of March and again later in the year (10 Aug, 6 Dec), each time at Cass Business School in the City of London. If you use one of these, and have at least had a quick look at the other, then this course is for you. I won’t introduce the software from scratch — installation etc — but I assume you are comfortable working in one of them. We’ll use RStudio as an IDE but you can apply what you learn in any R GUI, or none.

The learning outcomes are:

- understand the differences between a functional language and an imperative language
- know several strengths and weaknesses of both Stata and R
- be able to include chunks of R code inside a Stata do file and have them run from Stata
- be able to include chunks of Stata code inside an R script and have them run from R
- understand the limitations of passing data back and forth between Stata and R, and how to spot problems

If you want to know more, you can email me or get in touch on Twitter. If you want to book a place or ask about practicalities, travel etc, check out the Timberlake page.

**leave a comment**for the author, please follow the link and comment on their blog:

**R – Dataviz – Stats – Bayes**.

R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.