-
Notifications
You must be signed in to change notification settings - Fork 633
plot_geo returns a blank visualization in RStudio Viewer #1111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Likely a duplicate of #356 |
My laptop is always connected to the Internet / has Wi-Fi connection; I can download data from the same RStudio session. My colleague was able to generate the same chart in RStudio Viewer using the same version of plotly, so I couldn't detect the exact issue. |
Whoops, sorry, could you please right-click on the graph in RStudio, then choose "Inspect Element", then click on the Console tab and report any errors you see? |
No, it's an RStudio issue that unfortunately I can't do much about. It should render fine in any other web browser though |
Is there a version of RStudio in which this would work? I'm not entirely sure why it works for my colleague if it's RStudio issue. |
I know this issue is closed and I don't mean to re-open it, but for the benefit of people like me who are googling this issue: a workaround is to click the "Show in new window" button in the RStudio Viewer toolbar (the button right next to the Clear broom icon). This will launch a browser window (e.g. Chrome) where the visualization will properly load. |
I ran into the same issues today (November 2019). The "show in new window" workaround did not work. In the end, I
|
In my case, the issue was solved changing the rendering engine to auto-detect. |
I just can't get plot_geo to display correctly in RStudio Viewer.
This is weird because I can use other plotly commands, including ggplotly, to create interactive plots. I am running R version 3.3.3 and RStudio version 1.1.350 with plotly version 4.7.1. Initially, I call on 3 packages by recommendation I saw here: plot-geo-returning-a-blank-map-in-r
I get an empty plot, but if I hover over it, I can see the latitude and longitude information.
Would anyone know how to debug this problem? I've tried to reinstall ggplot2 and plotly from both CRAN and GItHub and different versions of R and RStudio without much luck.
I can see the plot if I select "Show in new window" and generate the plot in Chrome.
The text was updated successfully, but these errors were encountered: