The behavior you are seeing is an intentional behavior with R. You need to surround
http://cran.r-project.org/doc/manuals/r-release/R-ints.html#Autoprinting
ggplot() + ggplot() + geom_line(data = my_data, my_data$Price)
withprint(ggplot() + ggplot() + geom_line(data = my_data, my_data$Price))
More information can be found from the R project website's R Internals document here:http://cran.r-project.org/doc/manuals/r-release/R-ints.html#Autoprinting