loon package tcl/tk windows do not appear in RStudio on windows

I have just discovered the loon package video on twitter. I installed it on Windows with no problem.

But when I try the examples in RStudio desktop, the code runs without any errors, I get the same output in the console as shown in the vignettes, but the tcl/tk windows (neither the plots nor the inspector) do not appear.

The package README states:

  • It is best to use loon in RStudio or within a terminal.
    • The default Windows R GUI will not accept debug messages from Tcl, so for now you need to use RStudio or the terminal.

If I try it from the RGui, I do get the tcl/tk windows, so it is not a tcl/tk issue.

I have also read that "nothing depending on X11 will work in RStudio Server, including tcl/tk and similar packages", but I am using RStudio desktop.

Any suggestions ?
Thank you!

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

[1] LC_COLLATE=Spanish_Uruguay.1252 LC_CTYPE=Spanish_Uruguay.1252
[3] LC_MONETARY=Spanish_Uruguay.1252 LC_NUMERIC=C
[5] LC_TIME=Spanish_Uruguay.1252

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

other attached packages:
[1] loon_1.3.1 glue_1.4.1 vroom_1.2.1 shinythemes_1.1.2
[5] dplyr_1.0.0 shiny_1.4.0.2 plotly_4.9.2.1 ggforce_0.3.1
[9] ggplot2_3.3.1

loaded via a namespace (and not attached):
[1] tidyselect_1.1.0 purrr_0.3.4 V8_3.1.0 colorspace_1.4-1
[5] vctrs_0.3.1 generics_0.0.2 htmltools_0.4.0 viridisLite_0.3.0
[9] yaml_2.2.1 utf8_1.1.4 rlang_0.4.6 later_1.1.0.1
[13] pillar_1.4.4 withr_2.2.0 tweenr_1.0.1 bit64_0.9-7
[17] RColorBrewer_1.1-2 lifecycle_0.2.0 munsell_0.5.0 gtable_0.3.0
[21] htmlwidgets_1.5.1 labeling_0.3 fastmap_1.0.1 httpuv_1.5.4
[25] crosstalk_1.1.0.1 parallel_3.6.1 concaveman_1.1.0 curl_4.3
[29] fansi_0.4.1 Rcpp_1.0.4.6 xtable_1.8-4 backports_1.1.7
[33] promises_1.1.1 scales_1.1.1 DT_0.13 jsonlite_1.6.1
[37] bit_1.1-15.2 mime_0.9 farver_2.0.3 digest_0.6.25
[41] packrat_0.5.0 rprojroot_1.3-2 polyclip_1.10-0 grid_3.6.1
[45] here_0.1 cli_2.0.2 tools_3.6.1 magrittr_1.5
[49] lazyeval_0.2.2 tibble_3.0.1 crayon_1.3.4 tidyr_1.1.0
[53] pkgconfig_2.0.3 ellipsis_0.3.1 MASS_7.3-51.4 rsconnect_0.8.16
[57] data.table_1.12.8 assertthat_0.2.1 httr_1.4.1 rstudioapi_0.11
[61] R6_2.4.1 compiler_3.6.1

With tclVersion() I realized my version of tcltk was lower than 8.6.6 which the README asks for.
I updated R to the latest 4.0.2, and everything seems to be working !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.