As @sebammers mention this should work. See below. I could reprex it:
library(tidyverse)
ggplot(iris, aes (x = Sepal.Length,
y = Sepal.Width,
col = Species)) +
geom_point()

Created on 2022-01-19 by the reprex package (v2.0.1)