<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/dae3a73b80f540189f60f1ed547917fc&quot; frameborder=&quot;0&quot; width=&quot;1366&quot; height=&quot;1024&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1024</height><width>1366</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1024</thumbnail_height><thumbnail_width>1366</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/dae3a73b80f540189f60f1ed547917fc-4bc57d953f3f012a.gif</thumbnail_url><duration>290.223</duration><title>Lesson 04: R scripts</title><description>This Loom explains what R scripts are and how to create, run, and save them in RStudio. An R script is a saved document that can store R code, comments, and outputs so you can return to your work later, similar to a Word or Google Doc editor. You can create a new R script via File then New File or via the New File icon and selecting R Script. To run code, you can highlight code and click Run, use Command Enter (or Control Enter on Windows), or place the cursor on a line and run it. To save, use File then Save or Save As, the toolbar save icon, or the save icon within the editor window and name the script, such as “my first script.”</description></oembed>