Hi Ken,

> This might be a case of FAQ 7.22 since ggplot(2) like lattice depend on grid.
> I would try wrapping the ggplot commands in a print statement.

Yes, you're right. Replacing :

<<fig=TRUE>>=
ggplot(d,aes(y=t,x=u)) + geom_point(colour=alpha('black', 0.05))
@

with :

<<fig=TRUE>>=
print(ggplot(d,aes(y=t,x=u)) + geom_point(colour=alpha('black', 0.05)))
@

made the whole thing work.

Thanks a lot !

Julien

-- 
Julien Barnier
Groupe de recherche sur la socialisation
ENS-LSH - Lyon, France

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to