Skip to contents

Call this function with the session number as argument and the exercise file will be copied in the working directory and opened in the editor.

Usage

open_exercise(session)

Arguments

session

Session number as a number.

Value

Nothing. Used for its side effects.

Details

The following sessions have exercises:

- Session 03.

- Session 06.

- Session 08.

You can also open a fully worked-out analysis with `open_exercise("full")`

Examples

if (FALSE) {
open_exercise(3)

open_exercise("full")
}
# The exercise of Session 03 will open for editing.