-2

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.

boat
  • 3
  • 4
  • Please add data using `dput`. Please read the info about [how to ask a good question](http://stackoverflow.com/help/how-to-ask) and how to give a [reproducible example](http://stackoverflow.com/questions/5963269). – Ronak Shah Jul 27 '20 at 02:20
  • That seems like a graphics device or fonts not loaded/found issue. – Rui Barradas Jul 27 '20 at 04:54
  • @RuiBarradas thank you. I will look at those directions – boat Jul 27 '20 at 07:11
  • This seems like a conda issue since it doesn't happen with basic R; I've added that tag. But you're going to need to add enough details to make it reproducible if you want help fixing it. – user2554330 Jul 27 '20 at 09:32
  • Issue solved. Please close this topic – boat Jul 29 '20 at 02:37

1 Answers1

2

I installed Helvetica.ttf.gz on my ubuntu and those gibberish went away.