submit {swirl} | R Documentation |
When a swirl question requires the user to edit an R script, the
submit()
function allows the user to submit their response.
submit()
## Not run: | Create a function called f that takes one argument, x, and | returns the value of x squared. > submit() | You are quite good my friend! ## End(Not run)