Run »
# We need this line of code to show graphs in our compiler bitmap(file="out.png") line1 <- c(1,2,3,4,5,10) line2 <- c(2,5,7,8,9,10) plot(line1, type = "l", col = "blue") lines(line2, type="l", col = "red")