Introducing Scripts
Overview
In this and the following presentations, you gain exposure to and familiarity with using R scripts without needing to learn the R language first. We agree the using R scripts, can access its full power and flexibility, together with its ability to facilitate reproducibility. But only if, and when you are ready and interested; the point and click system is sufficient for many people and projects.
In this first presentation we look at examples of the common ways you can interact with scripts in R-Instat:
- Write a very, very simple script.
- The To Script button on each dialog.
Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern. Video constructed and voiced by Beryl Waswa.
- 0:00 Introduction
- 01:10 Writing your first script in R-Instat
- 03:18 The Run and Run All buttons in R-Instat
- 03:52 Running a script in R-Instat
- 06:31 The To Script button
- 07:27 Importing Data into R-Instat
- 07:37 Calculating the murder rates
- 08:11 Bar charts in R-Instat
- 09:46 Starting a new script
- 10:12 The To Script button
- 10:35 Examining the script
- 12:46 Tweaking the script
- 14:03 Saving scripts and some benefits of having them
- 16:00 What next?
And here we have the supplement video showing how you can interact with the buttons below;
- The Insert button and dialog in the script window
- The Log File
Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern. Video constructed and voiced by Beryl Waswa.
- 0:00 Introduction
- 0:08 The Insert button
- 0:36 The insert dialog
- 0:56 Running a script in R-Instat
- 1:40 Importing data into R-Insta via the insert dialog
- 2:09 Examining the data
- 2:32 Tweaking the script
- 2:53 Examining the data
- 3:37 The Log file
Use this practice exercise to try using scripts in R-Instat