Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load systemfonts in R 3.6.1 in OSX Catalina #17

Closed
wphantom opened this issue Nov 12, 2019 · 2 comments
Closed

Can't load systemfonts in R 3.6.1 in OSX Catalina #17

wphantom opened this issue Nov 12, 2019 · 2 comments

Comments

@wphantom
Copy link

Hi seems there is a problem atleast under OSX Catalina :
The package installs without problem but when loading it with library(systemfonts) it crashes :

library(systemfonts)

Erreur : package or namespace load failed for ‘systemfonts’ in dyn.load(file, DLLpath = DLLpath, ...):
impossible de charger l'objet partagé '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so
Reason: image not found

I'm on OSX Catalina(10.15.1). Same problem on 2 different osx catalina computer.

@thomasp85
Copy link
Member

Do you have X11 installed?

@wphantom
Copy link
Author

You're perfectly right ! I used to have XQuartz installed but it looks like the update to Catalina removed it !
A reinstall of XQuartz and it now works perfectly.

Sorry for this false alarm ! A warning in the description may be useful for future users.

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants