Open hueanhpt opened 7 years ago
Thanks for the example. I'll take a look and hopefully it will be fairly easy to fix. There are so many contexts these can be used in (web, RStudio viewer, R Markdown, notebooks, Shiny, etc.) that it is difficult to rigorously test them all, and I haven't given enough attention to Shiny yet as I haven't had any personal use cases for it yet, but I will take a look.
Thanks for your reply. I'm looking forward to receiving your feedback.
This is shaping up really well. Unfortunately I've been unable to create a working shiny example.
Do you have a working example I can attempt to replicate?
Kind regards.
I'm seeing this problem as well and I've been able to reproduce it in the example above. Also Darwin.
> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_2.2.1 dplyr_0.5.0 trelliscopejs_0.1.8
[4] shiny_1.0.3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.10 knitr_1.15.1 magrittr_1.5
[4] progress_1.1.2 munsell_0.4.3 colorspace_1.3-2
[7] xtable_1.8-2 R6_2.2.0 plyr_1.8.4
[10] tools_3.4.0 webshot_0.4.0 grid_3.4.0
[13] gtable_0.2.0 DBI_0.6-1 htmltools_0.3.6
[16] yaml_2.1.14 lazyeval_0.2.0 assertthat_0.2.0
[19] digest_0.6.12 tibble_1.3.0 tidyr_0.6.1
[22] purrr_0.2.2 htmlwidgets_0.8 DistributionUtils_0.5-1
[25] base64enc_0.1-3 mime_0.5 labeling_0.3
[28] compiler_3.4.0 scales_0.4.1 prettyunits_1.0.2
[31] jsonlite_1.4 httpuv_1.3.3
Awesome package - I am also getting the same error when I try to create a shiny app. FYI - my use case is to let a user upload a table that will then be plotted using Trelliscope.
Yes there is a strange htmlwidget sizing issue I'm experiencing with Shiny apps. Sorry for the delay on this. I'm out for a couple of weeks but will look into this as soon as I can.
+1
+1
I managed to get this to work by including self_contained = TRUE in my trelliscope call
Ex. facet_trelliscope(~column, self_contained = TRUE)
Dear sir,
I tried to use trelliscopejs in shiny context but unfortunately the library was crashed. It displayed a blank frame with this text:
Couldn't load config: http://127.0.0.1:4499/appfiles/config.jsonp?__loadTrscopeConfig__6aa8b26a=jsonp_z4meir93mfzis31
This snippet did work on RStudio(console + viewer)
My shiny app as below: ui.R
server.R
My session info:
How could I fix the problem ?