A command line argument is a parameter that we can supply to our Bash script at execution. They allow a user to dynamically affect the actions your script will perform …
In this video, Martin is presenting basic Linux commands pwd, cd, ls, rm, mv, mkdir, man. You are welcome to type along, but please beware that you can permanently delete …
This is the second part of the interview with Andy Kirk, data visualisation consultant, training provider, teacher, author, speaker, researcher and editor of the award-winning website called visualisingdata.com Watch Fatma …
In the previous step we introduced you to Bash variables which can be used to hold temporary information. A variable holds a single value under a single name. By contrast, …
Bash variables provide temporary storage for information. You can use them to store words/phrases (strings), decimals or integers. Variables To assign a variable, we use the = symbol: name="Victoria" …
Comments are one of the most important things to consider when you are writing your scripts. Making sure that you add comments throughout your scripts is just one of many …
Data visualisation in R and RStudio makes it possible to easily use basic plotting functions, or apply more advanced functions through packages. As you must have noticed throughout this week, …
Replacing one text string with another is something we often need to do. This could be because we’ve discovered a repeated typo or misspelling in a file or because we’ve …
Querying and manipulating data from existing files Introduction Querying and manipulating data from files might require you to use advanced options. In R, packages have been developed for specific purposes …
Introduction Indeed, you will often be willing to exploit the usefulness of built-in functions in R to manipulate large data sets. Although these data sets are organized as data frames, …
Lists and Data frames in R A List is an “object” in R that consist of a collection of other objects known as components. Lists can have components of the …
When working under your current R session, the entities that R creates and uses are called “objects”. There is a wide range of objects that can be created and that …
R is a “language and environment for statistical computing and graphics”. R is an integrated suite of facilities for data manipulation, calculation and graphical display. Among other things it has: …
Watch Victoria presenting simple scripts demonstrating how to capture user input into a script Here are the scripts used in this video: whoami.sh #!/usr/bin/env bashecho "Please enter your name."read nameecho …