I am trying to use Plotly to visualize on the shiny dashboard. But only the plot background shows up, without the plot and I end up with the following warning:
Warning in origRenderFunc() :
Ignoring explicitly provided widget ID "2ce07ec59b5"; Shiny doesn't use them.
I have tried every tip and trick mentioned so far in StackOverflow and GitHub but to no avail.
Please advise.
mara
February 20, 2018, 6:32pm
2
If you can list what these are, it will save other users from suggesting things you have already tried.
opened 01:24PM - 28 Apr 17 UTC
closed 07:44PM - 20 Sep 17 UTC
I am using the current version of plotly and shiny. Whenever I am trying to crea… te a plot, I am getting a warning:
```
Ignoring explicitly provided widget ID "fcfd29930da9"; Shiny doesn't use them
```
I have tested it with and without using plotly, and the warning seems to be associated with plotly.
Shiny and plotly versions:
```
plotly_4.6.0.9000
shiny_1.0.3
```
opened 11:21AM - 28 Apr 17 UTC
closed 02:07PM - 08 May 17 UTC
bug
important
When generating the forest plot, get a new error:
```r
> hetviz()
Listening… on http://127.0.0.1:6353
Warning in origRenderFunc() :
Ignoring explicitly provided widget ID "95a4fa9b92a"; Shiny doesn't use them
```
Shiny was [updated a few days ago](https://github.com/rstudio/shiny/releases) and there's [at least one person](http://stackoverflow.com/questions/43608750/filter-select-and-crosstalk-not-functioning-with-reactive-data) reporting the same error.
these are the solutions I came across, please help if there are any others...
chasec
February 22, 2018, 4:21pm
4
This is "normal" behavior for plotly within shiny at the moment.
Your second link (https://github.com/ropensci/plotly/issues/985 ) suggests you should check your code for other possible errors.
If it's possible, share the relevant parts of the app code and maybe someone can help.
chasec
February 22, 2018, 4:28pm
5
And if anyone is interested in why, you can follow these threads:
Why it's OK to ignore for now:
opened 01:24PM - 28 Apr 17 UTC
closed 07:44PM - 20 Sep 17 UTC
I am using the current version of plotly and shiny. Whenever I am trying to crea… te a plot, I am getting a warning:
```
Ignoring explicitly provided widget ID "fcfd29930da9"; Shiny doesn't use them
```
I have tested it with and without using plotly, and the warning seems to be associated with plotly.
Shiny and plotly versions:
```
plotly_4.6.0.9000
shiny_1.0.3
```
Why it occurs:
opened 10:06PM - 24 Feb 17 UTC
closed 09:18PM - 10 Oct 17 UTC
Warning message:
'.Random.seed' is not an integer vector but of type 'NULL', so… ignored
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
You can run the following reproducible example:
```{r simpleModel, echo = FALSE}
library(DiagrammeR)
simpleModel <- 'digraph simpleQueue {
graph[label = "Simple"]
a
b
c
a -> b ;
b -> c ;
{rank = same; a, b, c}
}'
grViz(simpleModel, height = 200)
```
```{r echo=FALSE, message=FALSE, warning=FALSE}
set.seed(562)
x <- rweibull(100, shape = .7, scale = 10)
```
Why you need to be careful about modifying global states when writing packages:
opened 04:38AM - 21 Jan 18 UTC
closed 05:43AM - 09 Dec 22 UTC
NAMESPACE
For possible inclusion as a sidebar in a future edition, somewhere in this vicin… ity:
https://github.com/hadley/r-pkgs/blame/master/r.rmd#L305
Two recent-ish examples around random number generation that show how careful you need to be when changing global state in your package.
ggplot2's use of a random number to display a message upon startup (but only in interactive sessions)
* A decent place to start in the Twitter conversation: https://twitter.com/jimhester_/status/954349179530248193
* PR changing the behaviour: https://github.com/tidyverse/ggplot2/pull/2409
htmlwidgets touching the seed
* Reports showed up on dplyr, even though that had nothing to with the root problem: https://github.com/tidyverse/dplyr/issues/2124.
* Ditto rmarkdown https://github.com/rstudio/rmarkdown/issues/980
* Actual resolution: https://github.com/ramnathv/htmlwidgets/pull/265
Paraphrasing discussion elsewhere: "don't touch things that don't belong to you and if you have to, you need to be super careful to wipe all your sticky fingerprints off everything"
For posterity, if you see this warning, you can update plotly to fix it: install.packages("plotly")
2 Likes