Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

submit

Submit the active R script in response to a question.


Description

When a swirl question requires the user to edit an R script, the submit() function allows the user to submit their response.

Usage

submit()

Examples

## 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)

swirl

Learn R, in R

v2.4.5
MIT + file LICENSE
Authors
Sean Kross [aut, cre], Nick Carchedi [aut], Bill Bauer [aut], Gina Grdina [aut], Filip Schouwenaars [ctb], Wush Wu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.