ERROR Rstudio Version 1.4.1118 - ggplot2 - R-devel 2021-04-08 r80148

Hello,

I have an error in Rstudio, using the latest version of R-devel (https://cran.r-project.org/src/base-prerelease/R-patched_2021-03-31_r80141.tar.gz).

Everything seems to work fine except for ggplot2 which create a Rstudio linked error - and crashed Rstudio.

I use the latest version of Rstudio (1.4.1118) which I found here (https://rstudio.com/products/rstudio/download/preview/) after reading this thread where some user got the same issue (RStudio crashes on Ubuntu 20.04-开源项目-CSDN问答).

library(ggplot)
ggplot()

[17786:17786:20210409,171701.014603:ERROR process_memory_range.cc:86] read out of range
[17786:17786:20210409,171701.014646:ERROR elf_image_reader.cc:558] missing nul-terminator
[17786:17786:20210409,171701.014772:ERROR elf_dynamic_array_reader.h:61] tag not found
...
[18117:18117:20210409,171752.056577:ERROR elf_dynamic_array_reader.h:61] tag not found
[18117:18117:20210409,171752.056613:ERROR elf_dynamic_array_reader.h:61] tag not found
[18117:18117:20210409,171752.057603:ERROR elf_dynamic_array_reader.h:61] tag not found
[18117:18118:20210409,171752.078249:ERROR directory_reader_posix.cc:42] opendir: No such file or directory (2)

I think this is related to Rstudio because when I launch the same command from R-devel from the terminal, this works fine.

Any idea how I could fix this ?
I tried re-installing ggplot2 but it didn't make any difference .
Thank you :wink:

PS: I am on Ubuntu 18.04.5 LTS

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.