# We need this line of code to show graphs in our compiler
bitmap(file="out.png")
โ
# Plot numbers from 1 to 10 and draw a line
plot(1:10, type="l")