Use the addinplots package of graphical code-helpers to produce nice graphics in R with the lattice plotting system. For information on installing addinplots, consult my blog post: http://statistics.rainandrhino.org/2016/03/11/rstudio-addinplots-installation.html