png(filename="plot.png") # This line redirects plots from screen to plot.png file. # Define the cars vector with 5 values cars <- c(1, 3, 6, 4, 9) # Graph the cars vector with all defaults plot(cars)