I am using Mac Pro M1 2020 but my R-studio doesn't open the plots what should I do?
install.packages(tidyverse)
library(tidyverse)
ggplot(yourdataset, aes(x=yourdataset$x, y=yourdataset$y) + geom_line()
if this dont work, try to be more specific to explain your problem.
I think you are missing a closing parenthesis for ggplot(). Also, you do not need to reference the data set for each variable. If the variables in yourdatset are variable1 and variable2:
ggplot(yourdataset, aes(x=variable1, y=variable2)) + geom_line()