Displaying 1 result from an estimated 1 matches for "temp31".
Did you mean:
temp1
2009 Mar 03
1
dotplot() lattice charts return blank image (jpeg, bmp, png) file
...r the help. Trying to run a basic dotplot in lattice from R command line. When the file is created, in Fedora, it is blank image (jpeg, bmp, png). Image produces correctly in Windows environment. Libraries lattice and latticeExtra are loaded. Code:
-----------------
jpeg(file = "/tmp/img/temp31.jpg", width = 768, height=768)
xy <- dotplot(1:10)
print(xy)
dev.off()
-----------------
Using plot(1:10) instead of dotplot produces an image file. Also, I can successfully produce an image for dotplot() in pdf like this:
-----------------
trellis.device(device = "pdf",file = &...