[IPython-dev] rmagic plots from lattice

Satrajit Ghosh satra at mit.edu
Sat Aug 25 08:32:55 EDT 2012


library(package = "lattice")
data(iris)
iris2 <- reshape(iris, varying = list(names(iris)[1:4]),
     v.names = "measure", timevar = "type", times = names(iris)[1:4],
     direction = "long")

and then neither of the following appear
- xyplot(Petal.Length ~ Petal.Width, iris, groups = Species, aspect = 1,
auto.key = list(side = "right"))
- stripplot(type ~ measure, data = iris2, groups = Species, jitter = TRUE,
auto.key = list(columns = 3))

other plots do show up

- mosaicplot(Titanic, color = TRUE)
- plot(density(x))

cheers,

satra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120825/28dbb14c/attachment.html>


More information about the IPython-dev mailing list