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
Plots not showing (no error) #2824
Comments
|
I'm encountering the same issue. I'd be thankful for solutions or referrals to other communities that might be able to help. Thanks! |
|
Hello, |
|
Thanks for the quick reply! Yes, it does indeed work without using conda. However, it would be ideal to find a way that allows me to keep the current setup. So while there is a workaround for the meantime, I still hope for an answer. |
|
If you know how to use Docker and are able to provide a Dockerfile that reproduces the problem, that would help us to debug it. If you can capture the malformed JSON that's being processed by |
|
Thanks for the answer! Unfortunately, I'm not familiar with Docker. I'm also not very familiar with the JavaScript Console, but I think I found the JSON object in question. I put it in this gist. |
|
Here's a weird part in the (escaped) JSON that @schloerke found: The value for And can you provide the output of these commands: |
|
Sure! |
|
Thanks! Can you provide the output from: |
|
|
I can reproduce the behavior with: withr::with_locale(
c(LC_NUMERIC = "de_DE"),
jsonlite::toJSON(list(x = 40.88), auto_unbox = T, digits = NA)
)
#> Warning message:
#> In (function (category = "LC_ALL", locale = "") :
#> setting 'LC_NUMERIC' may cause R to function strangely
#> {"x":40,88}
withr::with_locale(
c(LC_NUMERIC = "C"),
jsonlite::toJSON(list(x = 40.88), auto_unbox = T, use_signif = T)
)
#> Warning message:
#> In (function (category = "LC_ALL", locale = "") :
#> setting 'LC_NUMERIC' may cause R to function strangely
#> {"x":40.88} ( In the documentation for
I think what's happening that conda is setting the locale to Sys.setlocale("LC_NUMERIC", "C")That said, |
|
Thanks a lot! Setting the locale to "C" did actually solve the problem. |
System details
Browser Version: Firefox 75.0 & Chrome 80.0.3987.162
Output of
sessionInfo():Example application or steps to reproduce the problem
Example 1 :
runExample("01_hello")Example 2 :
runExample("04_mpg")Example 3 : (from the shiny reference )
Describe the problem in detail
Hello,
My problem : I cannot get any plot showing. No error is displayed, all other widgets and outputs are correctly rendered, but not plots.
I have tried the following :
but the results remain the same.
The problem is related to this one. (I am also using a version of R installed with conda, but I do not understand why that makes shiny plots fail to display).
And in my case, the Firefox developper console shows :
I have searched for similar issues, but I did not find any working solution. Any idea is welcome.
Thanks in advance.
The text was updated successfully, but these errors were encountered: