I really don't know anything much about this but I tried "device=pdf" (no-quotes) and I got a pdf file with transparent plots.
?device.print gives help with some links to other devices hth rajesh j wrote: > > Hi, > I used the command ggplot as follows... > p<-ggplot(a,aes(x=a$V1,colour=a$V2,fill=a$V2)) > p + geom_density(alpha = 0.2,xlim=c(-10,10),ylim=c(0,0.5)) > > when I say, > dev.print(device=postscript,file="/alpha/dct.pdf") > I get > > Warning message: > In grid.Call.graphics("L_polygon", x$x, x$y, > list(as.integer(1L:length(x$x)))) : > semi-transparency is not supported on this device: reported only once > per > page > > the pdf has error > any help? > -- > Rajesh.J > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > > -- View this message in context: http://www.nabble.com/ggplot-2-semi-transparency-error-tp25038236p25038580.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.