Git Product home page Git Product logo

Comments (9)

GuangchuangYu avatar GuangchuangYu commented on June 18, 2024 4

for MacOS users, do you have XQuartz installed?

from hexsticker.

raynamharris avatar raynamharris commented on June 18, 2024 1

Installing XQuartz solved the problem for me! Thanks @GuangchuangYu

from hexsticker.

GuangchuangYu avatar GuangchuangYu commented on June 18, 2024

Error : .onLoad failed in loadNamespace() for 'sysfonts', details:

you need to re-install sysfonts.

from hexsticker.

aaronrudkin avatar aaronrudkin commented on June 18, 2024

Same error (macOS 10.13.2, R 3.4.x); tried remove.packages(sysfonts); install.packages(sysfonts) and still get same error. The referenced file is in fact in that folder. Not sure if it's a permissions error or something trying to call the binary object.

from hexsticker.

juliasilge avatar juliasilge commented on June 18, 2024

I am getting this same error as well.

I can install the sysfonts package without any problem, and can run functions like sysfonts::font_files() and sysfonts::font_paths() interactively. The output I get is sensible and nothing breaks.

> sysfonts::font_paths()
[1] "/Library/Fonts"                  "/Users/juliasilge/Library/Fonts"

When I use the reprex package and run the same code, I get the error:

sysfonts::font_paths()
#> Error: .onLoad failed in loadNamespace() for 'sysfonts', details:
#>   call: dyn.load(file, DLLpath = DLLpath, ...)
#>   error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sysfonts/libs/sysfonts.so':
#>   dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sysfonts/libs/sysfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
#>   Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/sysfonts/libs/sysfonts.so
#>   Reason: image not found

I am not 100% sure everything that reprex does, but it seems like something is going on with the user or permissions or session or something? And the installation process is obviously more like reprex than like whatever I am doing interactively.

from hexsticker.

angela-li avatar angela-li commented on June 18, 2024

I am having exactly the same problem as described above, with the same error messages. Would appreciate any support you could provide with regards to this issue.

from hexsticker.

rcorty avatar rcorty commented on June 18, 2024

Installing XQuartz did not solve the problem for me

from hexsticker.

rcorty avatar rcorty commented on June 18, 2024

This is addressed in #56.

from hexsticker.

IyarLin avatar IyarLin commented on June 18, 2024

Installing XQuartz worked for me too. Thanks @GuangchuangYu !

from hexsticker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.