[Fedora-r-devel-list] 2.10 weirdness?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to track down a bizarre R thing on 2.10-2; could someone try reproducing this (not necessarily under the same environment) and post if this works or not?

library(ggplot2)

# This works for me on CentOS w/ 2.10-2; there's a foo.png that has the plot

png("foo.png", type="cairo")
qplot(factor(cyl), data="" geom="bar")
dev.off()

# This doesn't produce foo.png

foo <- function() {
  png("foo.png", type="cairo")
  qplot(factor(cyl), data="" geom="bar")
  dev.off()
}
foo()
 
I'm stumped!


Bing brings you maps, menus, and reviews organized in one place. Try it now.
_______________________________________________
Fedora-r-devel-list mailing list
Fedora-r-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-r-devel-list

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux