<div dir="ltr"><div>Greetings,</div><div>I think It's a known bug, you'll have to compile RKward 0.7.3 develop version with R 4.1.X or wait for the new binary version to be released. </div><div>I hope this helps:<br></div><div><a href="https://bugs.kde.org/show_bug.cgi?id=438993">https://bugs.kde.org/show_bug.cgi?id=438993</a><br></div><div><a href="https://rkward.kde.org/RKWard_Source_Repository.html">https://rkward.kde.org/RKWard_Source_Repository.html</a><br></div><div>and<br></div><div><a href="https://rkward.kde.org/Building_RKWard_From_Source.html">https://rkward.kde.org/Building_RKWard_From_Source.html</a><br></div><div>Cheers, let us know how it goes.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 16 de ago. de 2021 a la(s) 18:31, Fernando Saldanha (<a href="mailto:fsaldan1@gmail.com">fsaldan1@gmail.com</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is my first day with RKWard and my third day with Linux<br>
(Kubuntu), so please bear with me.<br>
<br>
RKWard is running well and has dealt with quite complex code. I am<br>
very excited about using it. However, it has not been able to plot<br>
even the simplest charts. It also was not able to plot charts<br>
generated by ggplot2, even though that code worked fine in RGui and<br>
RStudio. Here is an example of a chart using base R:<br>
<br>
> zz <- 1:100<br>
> plot(zz)<br>
<br>
Here is the error generated:<br>
<br>
Error in RK() : Graphics API version mismatch<br>
4: RK()<br>
3: dev.hold()<br>
2: plot.default(zz)<br>
1: plot(zz)<br>
<br>
Any help will be greatly appreciated,<br>
<br>
Here is the output from running rk.sessionInfo():<br>
<br>
-- Frontend --<br>
RKWard version: 0.7.2<br>
KDE Frameworks version (runtime): 5.80.0<br>
KDE Frameworks version (compile time): 5.74.0<br>
Qt version (runtime): 5.15.2<br>
Qt version (compile time): 5.14.2<br>
Using QtWebKit for HTML rendering<br>
Local config directory: /home/fernando/.config<br>
RKWard storage directory: /home/fernando/.rkward/<br>
Backend version (as known to the frontend): 4.1.1<br>
<br>
Debug message file (this may contain relevant diagnostic output in<br>
case of trouble):<br>
/tmp/rkward.frontend<br>
<br>
-- Backend --<br>
Debug message file (this may contain relevant diagnostic output in<br>
case of trouble):<br>
/tmp/rkward.rbackend<br>
<br>
R version (compile time): 4.0.2  (2020-06-22 r78730)<br>
R runtime session info:<br>
R version 4.1.1 (2021-08-10)<br>
Platform: x86_64-pc-linux-gnu (64-bit)<br>
Running under: Ubuntu 21.04<br>
<br>
Matrix products: default<br>
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3<br>
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/<a href="http://libopenblasp-r0.3.13.so" rel="noreferrer" target="_blank">libopenblasp-r0.3.13.so</a><br>
<br>
locale:<br>
 [1] LC_CTYPE=pt_BR.UTF-8          LC_NUMERIC=C<br>
 [3] LC_TIME=pt_BR.UTF-8           LC_COLLATE=en_US.UTF-8<br>
 [5] LC_MONETARY=pt_BR.UTF-8       LC_MESSAGES=en_US.UTF-8<br>
 [7] LC_PAPER=pt_BR.UTF-8          LC_NAME=pt_BR.UTF-8<br>
 [9] LC_ADDRESS=pt_BR.UTF-8        LC_TELEPHONE=pt_BR.UTF-8<br>
[11] LC_MEASUREMENT=pt_BR.UTF-8    LC_IDENTIFICATION=pt_BR.UTF-8<br>
<br>
attached base packages:<br>
[1] parallel  stats     graphics  grDevices utils     datasets  methods<br>
[8] base<br>
<br>
other attached packages:<br>
 [1] magrittr_2.0.1    data.table_1.14.0 furrr_0.2.3       tsibble_1.0.1<br>
 [5] forcats_0.5.1     stringr_1.4.0     dplyr_1.0.7       purrr_0.3.4<br>
 [9] readr_2.0.1       tidyr_1.1.3       tibble_3.1.3      ggplot2_3.3.5<br>
[13] tidyverse_1.3.1   rlang_0.4.11      rlist_0.4.6.1     lubridate_1.7.10<br>
[17] future_1.21.0     pbmcapply_1.5.0   assertive_0.3-6   assertr_2.8<br>
[21] rkward_0.7.2<br>
<br>
loaded via a namespace (and not attached):<br>
 [1] httr_1.4.2                 jsonlite_1.7.2<br>
 [3] assertive.sets_0.0-3       modelr_0.1.8<br>
 [5] assertthat_0.2.1           assertive.data_0.0-3<br>
 [7] cellranger_1.1.0           globals_0.14.0<br>
 [9] pillar_1.6.2               backports_1.2.1<br>
[11] glue_1.4.2                 assertive.data.uk_0.0-2<br>
[13] assertive.matrices_0.0-2   digest_0.6.27<br>
[15] assertive.types_0.0-3      rvest_1.0.1<br>
[17] colorspace_2.0-2           timeDate_3043.102<br>
[19] pkgconfig_2.0.3            broom_0.7.9<br>
[21] assertive.data.us_0.0-2    assertive.properties_0.0-4<br>
[23] assertive.reflection_0.0-5 listenv_0.8.0<br>
[25] haven_2.4.3                scales_1.1.1<br>
[27] tzdb_0.1.2                 proxy_0.4-26<br>
[29] spatial_7.3-14             generics_0.1.0<br>
[31] ellipsis_0.3.2             withr_2.4.2<br>
[33] assertive.code_0.0-3       cli_3.0.1<br>
[35] crayon_1.4.1               readxl_1.3.1<br>
[37] assertive.strings_0.0-3    fs_1.5.0<br>
[39] fansi_0.5.0                parallelly_1.27.0<br>
[41] assertive.numbers_0.0-2    anytime_0.3.9<br>
[43] class_7.3-19               xml2_1.3.2<br>
[45] tools_4.1.1                hms_1.1.0<br>
[47] lifecycle_1.0.0            assertive.files_0.0-2<br>
[49] munsell_0.5.0              reprex_2.0.1<br>
[51] e1071_1.7-8                compiler_4.1.1<br>
[53] timeSeries_3062.100        grid_4.1.1<br>
[55] rstudioapi_0.13            assertive.models_0.0-2<br>
[57] assertive.base_0.0-9       gtable_0.3.0<br>
[59] codetools_0.2-18           DBI_1.1.1<br>
[61] assertive.datetimes_0.0-3  R6_2.5.0<br>
[63] knitr_1.33                 utf8_1.2.2<br>
[65] fBasics_3042.89.1          stringi_1.7.3<br>
[67] Rcpp_1.0.7                 vctrs_0.3.8<br>
[69] dbplyr_2.1.1               tidyselect_1.1.1<br>
[71] xfun_0.25<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center"><div style="text-align:left">Dr. Alfonso Cano Robles</div><div><br></div><div><br></div><div><span style="background-color:rgb(166,206,57);color:rgb(255,255,255);font-size:16px;font-weight:800;text-transform:uppercase;font-family:"noto sans",sans-serif">                      ORCID ID:                      </span></div><div><span style="font-size:12px;color:rgb(73,74,76);font-family:"noto sans",sans-serif;text-align:start"><a href="https://orcid.org/0000-0002-9496-2301" target="_blank">https://orcid.org/0000-0002-9496-2301</a></span></div><div><img src="https://docs.google.com/uc?export=download&id=1SnjBemrgdarcivIhZ8usNLgtn6Q3sG74&revid=0B0Juk8pUtJwcTW5rK1IvWXV3bDRnMGRWTlJIVUg5M3pMQThjPQ" width="96" height="96"></div></div></div></div></div></div></div></div></div>