Home:ALL Converter>rstudio corrupted letter and number in plot

rstudio corrupted letter and number in plot

Ask Time:2020-07-27T09:49:23         Author:boat

Json Formatter

I got this problem with Rstudio, the plot labels are replaced by squares with 4 numbers inside.

image

Anyone has some idea what caused this trouble? I tried to re-create conda env and install rstudio, not working. And I got no such issue if i use basic R.

Thanks in advance

update 28.07.2020:

I tried to install rstudio via conda for a new account, the issue reproduced. I tried to install rstudio via conda on a second PC, the issue persisted.

I tried to install an older version of rstudio via conda, and conda went to forever "solving environment".

I think it might be an issue of conda recipie....

update 29.07.2020 :

Problem solved by specifying the font family in plot function

plot(1,2,family="Times New Roman")

But the R default font

plot(1,2,family="mono")
plot(1,2,family="sans")

reproduce the same issue. It seems like conda caused R unloaded default font.

Author:boat,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/63107635/rstudio-corrupted-letter-and-number-in-plot
yy