2.3 Check setup

In order to make sure that the setup is successful, click again on tab “Packages” of the bottom-right panel, and tick packages that you just installed, like the “tidyverse” package in that example:

rstudio check packages

If no error (in red) appear in the console (bottom-left panel), installation should be ok.

CHECK

Copy-paste the following line of code in the console (bottom-left panel) and click on Enter / Return. You should be able to see the scatter plot appear on the “Plots” tab in the bottom-right panel !

diamonds %>% 
  dplyr::select(carat, price, clarity) %>%  
  ggplot(aes(x=carat, y=price, col=clarity)) + geom_point()