getwd()
in the console, to set a working directory you can use setwd( "file-path-to-the-desired-directory")
or in the interface. In the interface in the pane with all folders and files, you should go to the folder you want as a working directory, click above the pane on the "More" and then select "Set as a working directory"ggsave tip:
ggplot(data = airquality,
mapping = aes(x = Month,
y = Ozone))+
geom_boxplot()
ggsave(
"plots/air_plot.png",
plot = last_plot())
p <- ggplot(data = airquality,
mapping = aes(x = Month,
y = Ozone))+
geom_boxplot()
ggsave(plot= p, "plots/air_plot2.png", device = "png")
Dear learners,
we release the solutions for Exercises Day 3
Good luck 🍀 for the concluding practical !