I am new to R but just thought of sharing this.
a <- c(1,2,3)
b <- c(2,3,4)
x <- qplot(a,b)
y <- ggplot(data.frame(a,b), aes(a,b)) +geom_line()
If i change the value of the variables a and b and then plot x, it will take into account the changed values where as y would not. So while scripting it would be good to use ggplot as if you use qplot all the graphs will be equal to the latest provided references to qplot.