Closed xiangao closed 2 years ago
plottrend() and other plot functions keep crashing: "R encountered a fatal error"...
Other functions seem to be fine. I updated all the libraries, but it is still crashing.
Here is sessionInfo()
sessionInfo() R version 4.1.1 (2021-08-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.3 LTS
Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 [6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] forcats_0.5.1 stringr_1.4.0 purrr_0.3.4 readr_2.0.1 tidyr_1.1.3 tibble_3.1.4 ggplot2_3.3.5 tidyverse_1.3.1 dplyr_1.0.7 [10] tidysynth_0.1.0
loaded via a namespace (and not attached): [1] tidyselect_1.1.1 xfun_0.25 kernlab_0.9-29 haven_2.4.3 colorspace_2.0-2 vctrs_0.3.8 generics_0.1.0 [8] htmltools_0.5.2 yaml_2.2.1 utf8_1.2.2 rlang_0.4.11 pillar_1.6.2 glue_1.4.2 withr_2.4.2 [15] DBI_1.1.1 dbplyr_2.1.1 optimx_2021-6.12 modelr_0.1.8 readxl_1.3.1 lifecycle_1.0.0 munsell_0.5.0 [22] gtable_0.3.0 cellranger_1.1.0 rvest_1.0.1 evaluate_0.14 knitr_1.34 tzdb_0.1.2 fastmap_1.1.0 [29] fansi_0.5.0 broom_0.7.9 Rcpp_1.0.7 scales_1.1.1 backports_1.2.1 jsonlite_1.7.2 fs_1.5.0 [36] hms_1.1.0 digest_0.6.27 stringi_1.7.4 numDeriv_2016.8-1.1 grid_4.1.1 cli_3.0.1 tools_4.1.1 [43] magrittr_2.0.1 crayon_1.4.1 pkgconfig_2.0.3 ellipsis_0.3.2 xml2_1.3.2 reprex_2.0.1 lubridate_1.7.10 [50] rstudioapi_0.13 assertthat_0.2.1 rmarkdown_2.10 httr_1.4.2 R6_2.5.1 compiler_4.1.1
Can you provide an example of the code that is crashing?
Thanks, it turns out to be an Rstudio issue. After updating, it works fine.
plottrend() and other plot functions keep crashing: "R encountered a fatal error"...
Other functions seem to be fine. I updated all the libraries, but it is still crashing.
Here is sessionInfo()
Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] forcats_0.5.1 stringr_1.4.0 purrr_0.3.4 readr_2.0.1 tidyr_1.1.3 tibble_3.1.4 ggplot2_3.3.5 tidyverse_1.3.1 dplyr_1.0.7
[10] tidysynth_0.1.0
loaded via a namespace (and not attached): [1] tidyselect_1.1.1 xfun_0.25 kernlab_0.9-29 haven_2.4.3 colorspace_2.0-2 vctrs_0.3.8 generics_0.1.0
[8] htmltools_0.5.2 yaml_2.2.1 utf8_1.2.2 rlang_0.4.11 pillar_1.6.2 glue_1.4.2 withr_2.4.2
[15] DBI_1.1.1 dbplyr_2.1.1 optimx_2021-6.12 modelr_0.1.8 readxl_1.3.1 lifecycle_1.0.0 munsell_0.5.0
[22] gtable_0.3.0 cellranger_1.1.0 rvest_1.0.1 evaluate_0.14 knitr_1.34 tzdb_0.1.2 fastmap_1.1.0
[29] fansi_0.5.0 broom_0.7.9 Rcpp_1.0.7 scales_1.1.1 backports_1.2.1 jsonlite_1.7.2 fs_1.5.0
[36] hms_1.1.0 digest_0.6.27 stringi_1.7.4 numDeriv_2016.8-1.1 grid_4.1.1 cli_3.0.1 tools_4.1.1
[43] magrittr_2.0.1 crayon_1.4.1 pkgconfig_2.0.3 ellipsis_0.3.2 xml2_1.3.2 reprex_2.0.1 lubridate_1.7.10
[50] rstudioapi_0.13 assertthat_0.2.1 rmarkdown_2.10 httr_1.4.2 R6_2.5.1 compiler_4.1.1