G3viz / g3viz

Lollipop-diagram to interactively visualize genetic mutations
https://g3viz.github.io/g3viz/
Other
29 stars 19 forks source link

g3Lollipop() not working - (R-3.6.1/R3.5.3 - Ubuntu18.04) #4

Open marciaah opened 4 years ago

marciaah commented 4 years ago

Hi! Really useful package! but I can't make the g3Lollipop() function to work on a Linux-based system, (while I tried it on a MacOS based one and it works perfectly!) The plottting area in Rstudio remains white, it only displays the buttons for saving the image, but no action happens when pressing these buttons and no error is raised at all hgnc2pfam() on the other hand works perfectly

I've tried with R-3.6.1 and R-3.5.3, and had the same situation

Could you check what may be wrong? Thank you very much!

This is my session info:

sessionInfo() R version 3.5.3 (2019-03-11) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.3 LTS

Matrix products: default BLAS: /opt/R/3.5.3/lib/R/lib/libRblas.so LAPACK: /opt/R/3.5.3/lib/R/lib/libRlapack.so

locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] knitr_1.26 kableExtra_1.1.0 g3viz_1.1.2

loaded via a namespace (and not attached): [1] Rcpp_1.0.3 pillar_1.4.2 compiler_3.5.3 R.methodsS3_1.7.1 tools_3.5.3 zeallot_0.1.0
[7] digest_0.6.22 jsonlite_1.6 evaluate_0.14 tibble_2.1.3 viridisLite_0.3.0 pkgconfig_2.0.3
[13] rlang_0.4.1 rstudioapi_0.10 yaml_2.2.0 xfun_0.11 cgdsr_1.3.0 stringr_1.4.0
[19] httr_1.4.1 xml2_1.2.2 vctrs_0.2.0 htmlwidgets_1.5.1 hms_0.5.2 webshot_0.5.1
[25] glue_1.3.1 R6_2.4.0 rmarkdown_1.16 readr_1.3.1 magrittr_1.5 backports_1.1.5
[31] scales_1.0.0 htmltools_0.4.0 rvest_0.3.5 colorspace_1.4-1 stringi_1.4.3 munsell_0.5.0
[37] crayon_1.3.4 R.oo_1.23.0

zmiimz commented 4 years ago

I see the same effect with a fresh installed g3viz library (using devtools). But plot is visible if window is opened in external web browser

marciaah commented 4 years ago

Thanks @zmiimz for bringing my attention to this again. In my case updating RStudio solved the problem, currently on version 1.2.5019 Hope you can also solve it!