I do not understand this either. Putting cat() after qplot() seems to work.
You may report this to Hadley, though
(
https://github.com/hadley/evaluate/issues).
library(evaluate)
evaluate('library(ggplot2)
for(i in 1:3) {
cat(i)
plt <- qplot(x,y, data=data.frame(x=1:10,y=rnorm(10)) )
print(plt)
}')
Regards,
Yihui
--
Yihui Xie <
xiey...@gmail.com>
Phone:
515-294-2465 Web:
http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA