WebR

This page loads WebR and then runs the following code:



      

Each line of code is run in a separate captureR call.

The output from running each line of code is logged to the console.

The code is run twice: once with captureGraphics: true and then with captureGraphics: false.