exercise | R Documentation |
Get an exercise
exercise(name = c("faux", "fixed", "mixed", "calories"), filename = NULL)
name |
The name of the exercise |
filename |
What filename you want to save (defaults to the name of the exercise in the working directory) |
Saves a file to the working directory (or path from filename)
## Not run:
exercise("faux") # get exercise for the faux workshop
exercise("fixed", "exercises/fixed.Rmd") # save into exercises directory
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.