Apart from the googling requried it took me about 15 minutes and the problem was resolved (my beautiful ligatures are back!).
It is a sort of hackish solution, but it does work (which makes me think that the root cause with RStudio is unlikely to be resolved soon, since there is a known workaround).
The choice is of course yours. Just to let you know that should a problem occur all you would have to do is remove the .conf file.
I am using the workaround for about two months and so far no issue.
Tried to save the new file:
80-firacode-spacing.conf
in:
/etc/fonts/conf.d/
but, the Ubuntu Text Editor
says:
"could not save the file...you do not have the permissions to save this file".
did sudo gedit,
gedit opened,
but when tried to save got this gedit message:
"(gedit:40209): Tepl-WARNING **: 14:49:49.720: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.".
Don't know what it means...
how can i use "nano" editor
to save the .conf file?.
(maybe easier?).
After:
sudo gedit
and despite the ugly saving warning message
(see above),
FiraCode font DID install ok
in the prescribed folder,
and IS showing in the Rstudio Editor fonts.
**Whew!...
OK!!
After selecting FiraCode font
and clicking [Apply] in Rstudio,
font "ligatures" are now active,
ie: so that
"<- "
shows as a nice left pointing arrow in Rstudio. YAY!
Good that you worked that out - the message is not relevant in context of /etc directory, but I probably should have told you to run sudo -H gedit (it would have sidestepped the error). My bad.
Anyway, I am glad you worked that out, the FiraCode ligatures are highly addictive