Enter R code in the script.R tab. Click Run button. Observe the output in the R Console tab. Press CRTL+L to clear the R Console tab.
# Create a vector x <- c(-8,-6,-3,0, 1, 3, 5, 7) library(tibble) library(ggplot2) # Create a tiblle data <- tibble( x = c(-8,-6,-3,0, 1, 3, 5, 7), y = x^2 ) # Plot y with respect to x ggplot(data, aes(x=x,y=y)) + geom_line() + geom_point()