installing ggplot2 and not working

Okay, at least we know the installation was successful.

To do more we need a reproducible example (reprex)

A handy way to supply sample data is to use the dput() function. See ?dput. If you have a very large data set then something like head(dput(myfile), 100) will likely supply enough data for us to work with.

Are you getting any error messages? If so be sure to include them.