added the library("ggplot2")

So that it gives a meaningful error if you don't import it first
Merge pull request #1 from diego0020/patch-1

added library("ggplot2") statement