Skip to content

Resuming Work on a Lesson in an Existing Course

Sean Kross edited this page Jun 3, 2016 · 4 revisions

ATTENTION!

This documentation is deprecated. For the latest version of the swirlify documentation please visit: http://swirlstats.com/swirlify

I want to make some edits and additions to the How to use pnorm lesson I wrote for the Normal Distribution Functions in R course that I started back in Creating a New Course. First I need to set my working directory to the directory that contains the Normal Distribution Functions in R course. Remember that swirlify is always aware of your current working directory.

setwd("~/Developer/my_swirl_courses/")

Then to resume working on How to use pnorm I need to make swirlify aware of which lesson I want to work on using set_lesson():

# Choose the lesson.yaml file that you want to work on interactively
set_lesson()

# OR

# Specify the path to the lesson.yaml file you want to work on
set_lesson("~/Developer/my_swirl_courses/Normal_Distribution_Functions_in_R/How_to_use_pnorm/lesson.yaml")

Executing the set_lesson() function will open up the lesson.yaml file in your text editor for the How to use pnorm lesson. You can now start adding questions to and editing this lesson. To find out more about how to add questions to a lesson see Adding Questions to a Lesson.