ggvis
ggvis copied to clipboard
Cannot download PNG in RStudio when choose "Canvas" [ubuntu 14.04]
USE RSTUDIO in my ubuntu os. plot: mtcars %>% ggvis(~wt, ~mpg) %>% layer_points() then Choose "Canvas", and click "Download PNG", then cannot save the PNG because the pop-window doesn't work any more.
Maybe, that's nothing with the ggvis. But to save "SVG", that works normal.
We at Plotly just ran into this as well. Plotly, with thanks to the great work by @cpsievert, has just rolled out https://github.com/ropensci/plotly/tree/htmlwidgets and I am seeing the same bug with linux+Ubuntu machines (have not tried it out on other linux distros).
@hadley - do you have a recommendation on the best place to log this bug? It seems this is an RStudio issue and you might know best how to log this issue.
I have a few more pieces of information:
The download dialogue which opens when clicking an <a>
element with a canvas DataURL
as the href
attribute (the way both Plotly and ggvis do PNG downloads) has its filename field filled out with the contents of the DataURL. This could be a cause of the unresponsive behaviour. RStudio actually segfaults occasionally when stimulating this code path.