Doing simple calculations in R is straight forward. This will print 30: In NeoStat, addition is done with the Add node. In order to see the result, we must connect the output of the Add node to the input of the Inspect node: This is how we plot a vector in R: This will give…