Cannot plot simple series

Fernando Saldanha fsaldan1 at gmail.com
Mon Aug 16 22:41:29 BST 2021


This is my first day with RKWard and my third day with Linux
(Kubuntu), so please bear with me.

RKWard is running well and has dealt with quite complex code. I am
very excited about using it. However, it has not been able to plot
even the simplest charts. It also was not able to plot charts
generated by ggplot2, even though that code worked fine in RGui and
RStudio. Here is an example of a chart using base R:

> zz <- 1:100
> plot(zz)

Here is the error generated:

Error in RK() : Graphics API version mismatch
4: RK()
3: dev.hold()
2: plot.default(zz)
1: plot(zz)

Any help will be greatly appreciated,

Here is the output from running rk.sessionInfo():

-- Frontend --
RKWard version: 0.7.2
KDE Frameworks version (runtime): 5.80.0
KDE Frameworks version (compile time): 5.74.0
Qt version (runtime): 5.15.2
Qt version (compile time): 5.14.2
Using QtWebKit for HTML rendering
Local config directory: /home/fernando/.config
RKWard storage directory: /home/fernando/.rkward/
Backend version (as known to the frontend): 4.1.1

Debug message file (this may contain relevant diagnostic output in
case of trouble):
/tmp/rkward.frontend

-- Backend --
Debug message file (this may contain relevant diagnostic output in
case of trouble):
/tmp/rkward.rbackend

R version (compile time): 4.0.2  (2020-06-22 r78730)
R runtime session info:
R version 4.1.1 (2021-08-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 21.04

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.13.so

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

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

other attached packages:
 [1] magrittr_2.0.1    data.table_1.14.0 furrr_0.2.3       tsibble_1.0.1
 [5] forcats_0.5.1     stringr_1.4.0     dplyr_1.0.7       purrr_0.3.4
 [9] readr_2.0.1       tidyr_1.1.3       tibble_3.1.3      ggplot2_3.3.5
[13] tidyverse_1.3.1   rlang_0.4.11      rlist_0.4.6.1     lubridate_1.7.10
[17] future_1.21.0     pbmcapply_1.5.0   assertive_0.3-6   assertr_2.8
[21] rkward_0.7.2

loaded via a namespace (and not attached):
 [1] httr_1.4.2                 jsonlite_1.7.2
 [3] assertive.sets_0.0-3       modelr_0.1.8
 [5] assertthat_0.2.1           assertive.data_0.0-3
 [7] cellranger_1.1.0           globals_0.14.0
 [9] pillar_1.6.2               backports_1.2.1
[11] glue_1.4.2                 assertive.data.uk_0.0-2
[13] assertive.matrices_0.0-2   digest_0.6.27
[15] assertive.types_0.0-3      rvest_1.0.1
[17] colorspace_2.0-2           timeDate_3043.102
[19] pkgconfig_2.0.3            broom_0.7.9
[21] assertive.data.us_0.0-2    assertive.properties_0.0-4
[23] assertive.reflection_0.0-5 listenv_0.8.0
[25] haven_2.4.3                scales_1.1.1
[27] tzdb_0.1.2                 proxy_0.4-26
[29] spatial_7.3-14             generics_0.1.0
[31] ellipsis_0.3.2             withr_2.4.2
[33] assertive.code_0.0-3       cli_3.0.1
[35] crayon_1.4.1               readxl_1.3.1
[37] assertive.strings_0.0-3    fs_1.5.0
[39] fansi_0.5.0                parallelly_1.27.0
[41] assertive.numbers_0.0-2    anytime_0.3.9
[43] class_7.3-19               xml2_1.3.2
[45] tools_4.1.1                hms_1.1.0
[47] lifecycle_1.0.0            assertive.files_0.0-2
[49] munsell_0.5.0              reprex_2.0.1
[51] e1071_1.7-8                compiler_4.1.1
[53] timeSeries_3062.100        grid_4.1.1
[55] rstudioapi_0.13            assertive.models_0.0-2
[57] assertive.base_0.0-9       gtable_0.3.0
[59] codetools_0.2-18           DBI_1.1.1
[61] assertive.datetimes_0.0-3  R6_2.5.0
[63] knitr_1.33                 utf8_1.2.2
[65] fBasics_3042.89.1          stringi_1.7.3
[67] Rcpp_1.0.7                 vctrs_0.3.8
[69] dbplyr_2.1.1               tidyselect_1.1.1
[71] xfun_0.25


More information about the rkward-users mailing list