dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.77k stars 229 forks source link

Image not found #74

Open patrick-fahey opened 4 years ago

patrick-fahey commented 4 years ago

I have installed the esquisse package and did not seem to get any errors in doing so. However, when I try to run esquisse::esquisser in RStudio, I get this error message:

Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/systemfonts/libs/systemfonts.so': dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/systemfonts/libs/systemfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/systemfonts/libs/systemfonts.so Reason: image not found

robertwwalker commented 4 years ago

On Macs you need to homebrew a few utilities to make the shiny work. Cairo and freetype come to mind.

pandorrasland commented 4 years ago

What do you mean by homebrew (install it via terminal) and how do you do it in Rstudio @robertwwalker? Update: Cairo worked in the terminal, but there is nothing for freetype.

pandorrasland commented 4 years ago

It seems that this issue has been solved: https://community.rstudio.com/t/unable-to-load-packages-libcairo-2-dylib-not-loaded/22754