errors of installation bear with Catalina [R for BE/BA]

posted by jabriges – US, 2020-05-10 23:42 (136 d 16:56 ago) – Posting: # 21414
Views: 10,524

Thanks for the reply, YJ. I ran preinst.r previously so I tried the install.packages("RGtk2", type="source") you suggested and it completes, but the last bit of the output shows this:

** testing if installed package can be loaded from temporary location
R session is headless; GTK+ not initialized.
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
R session is headless; GTK+ not initialized.
** testing if installed package keeps a record of temporary installation path
* DONE (RGtk2)


I''m not sure if that is a problem. After that, if I re-install bear, then I get the message

R session is headless; GTK+ not initialized.
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/cairoDevice/libs/cairoDevice.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/cairoDevice/libs/cairoDevice.so, 6): Library not loaded: /opt/X11/lib/libcairo.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/cairoDevice/libs/cairoDevice.so
Reason: image not found
Need GTK+ ? (Restart R after installing)

1: Install GTK+
2: Do not install GTK+

Selection:


Any suggestions?

Thanks, Jay

Complete thread:

Activity
 Admin contact
21,074 posts in 4,394 threads, 1,468 registered users;
online 15 (0 registered, 15 guests [including 1 identified bots]).
Forum time: Thursday 16:39 CEST (Europe/Vienna)

Enlightenment is man’s emergence from his self-imposed nonage
for which he himself was responsible.
Nonage is the inability to use one’s own intellect
without the direction of another.    Immanuel Kant

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5