plotly / plotly/plotly.R

Rstudio crashes after a simple ggplot2 graph Zoom out

Open
#832 17 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

The commands:

require(plotly)
q=qplot(1:10,1:10)
ggplotly(q)

Then select an area with the default zoom tool, and then press Zoom out.

After that Rstudio crashes.

I use the latest versions of Rstudio (1.0.44) and R (3.3.2 64 bit - Windows). All the R packages are updated to the latest versions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash in RStudio on Windows using require(plotly), qplot(1:10,1:10), and ggplotly(q), then select an area with the default zoom tool and press Zoom out. Start by checking the plotly/RStudio interaction around the Zoom out action; done means the same workflow no longer crashes RStudio.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.