Open an exercise file. A new file is created in your working directory unless
you specify the dir
argument.
1 | open_exercise(number, overwrite = FALSE, suffix = NULL, dir = getwd())
|
number |
A number specifying which exercise to open. |
overwrite |
If you want to overwrite the exercise file you already
opened use overwrite = TRUE, default to |
suffix |
If you do not want to overwrite your previous exercise file but want to open another version you can specify text that will get appended to the filename. For example, if |
dir |
A character string specifying the directory where the exercise
file will be created, defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.