Hi, Forgot to mention that ggplot2 needs to be installed:
> install.packages("ggplot2") Warning in install.packages : downloaded length 227 != reported length 227 trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/ggplot2_1.0.0.zip' Content type 'application/zip' length 2675344 bytes (2.6 Mb) opened URL downloaded 2.6 Mb package ‘ggplot2’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\p068244\AppData\Local\Temp\Rtmp4WVORN\downloaded_packages > library(ggplot2) -- View this message in context: http://r.789695.n4.nabble.com/Plotting-dataset-tp4702896p4702913.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.