submit function

Submit the active R script in response to a question.