From the course: R for Data Science: Lunch Break Lessons

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Create your own swirl lesson

Create your own swirl lesson

- [Mark] In a previous session we talked about swirl, which is a R program you can use to learn R. The great thing about swirl is you can create your own swirl lessons, and let's take a minute and look and see how to do that. The first thing you'll need to do is install the swirl package and use install packages to do that. Then you'll need to bring it in using the library command. Now to create your swirl lesson you need an extra set of tools and that's called swirlify, so I'll install the package for swirlify. S W I R I L F Y and then use the library command to bring that into play. Now we have the swirl editor loaded into this copy of R studio and I can use the swirlify command to create a lesson, so I'll type in swirlify. First I need to give it the name of the lesson and in this case we'll use Use R with Excel. That would be anything that you decide you want to teach, and the name of the overall lesson package is…

Contents