plotly / plotly.R

An interactive graphing library for R
https://plotly-r.com
Other
2.53k stars 623 forks source link

Dynamic list of unsupported geoms #348

Open cpsievert opened 8 years ago

cpsievert commented 8 years ago

Here's a list of official ggplot2 geoms that we don't currently support. For a list of 3rd party geoms, see #566

library(plotly)
  # obtain ggplot2's geoms
gg <- ls(asNamespace("ggplot2")) 
geoms <- gg[grepl("^Geom", gg)]
# plotly geoms
x <- sub("to_basic\\.", "", as.character(methods(to_basic)))
y <- sub("geom2trace\\.", "", as.character(methods(geom2trace)))
# non official mechanism for layout-specific geoms yet
pgeoms <- c(x, y, "GeomRasterAnn")
setdiff(geoms, pgeoms)
"GeomCurve"     "GeomCustomAnn" "GeomLabel"     "GeomLogticks"
packageVersion("plotly")
[1]  ‘4.5.6.9000’
sctyner commented 7 years ago

923 I'll close it myself. My bad! Perhaps I should have read the instructions more carefully.....

danielsjf commented 5 years ago

Are these functions on the official plotly Roadmap?