I know how to add point labels when using ggplot2 using geom_text()
p <- ggplot(mtcars, aes(x=wt, y=mpg, label=rownames(mtcars)))
p + geom_text()
You can override the aesthetic or use it in the initial expression:
nms <- rownames(mtcars) p + geom_text(aes(label = replace(nms, nms == "Fiat X1-9", "Worst Car Ever")))
If you do not want to create a new object you can use this. But as a point of advice, don't become too attached to one-liners. They are fun, but sometimes creating an object is the best for readability, debugging, and accuracy.
p + geom_text(aes(label = replace(rownames(mtcars), rownames(mtcars) == "Fiat X1-9", "Worst Car Ever")))