updates of installation bear with macOS (Mojave) [R for BE/BA]

posted by mahmoud-teaima  – 2020-04-09 13:01 (199 d 06:22 ago) – Posting: # 21323
Views: 12,845

Dear YJ Lee,

I recently updated my software into macOs Catalina 10.15.4 and R from 3.5.1 into R version 3.6.3 (2020-02-29) -- "Holding the Windsock"Copyright (C) 2020 The R Foundation for Statistical Computing, Platform: x86_64-apple-darwin15.6.0 (64-bit), BUT i faces some difficulties installing bear again.
I followed your instructions in the post below, some steps went well but some gave an error message as follows:

» In summary, you will need Xcode (done) and Xcode command line tool (done) and MacPorts (done). Download and install. Go to CRAN mirror to download RGtk2 (done) and cairoDevice source tarballs (*.tar.gz) (done). Put these two tar ball files under your working directory (done). And open a terminal type
» $ export PATH=/opt/local/bin:/opt/local/sbin:$PATH ###done
» $ sudo port selfupdate                             ###done
» $ sudo port install pkgconfig                      ###done
» $ sudo port install gtk2 +x11                      ### <- this is extremely important.
###error "MacBook-Pro-2:~ mahmoudteaima$ sudo port install gtk2 +x11
---> Computing dependencies for xorg-libXau
The following dependencies will be installed:  xorg-xorgproto
Continue? [Y/n]: Y

---> Activating xorg-xorgproto @2019.2_0
Error: Failed to activate xorg-xorgproto: Image error: /opt/local/include/X11/DECkeysym.h is being used by the active xorg-xproto port. Please deactivate this port first, or use 'port -f activate xorg-xorgproto' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-xorgproto/xorg-xorgproto/main.log for details.
Error: Unable to execute port: upgrade atk failed "

$ R CMD INSTALL RGtk2_x.xx.xx.tar.gz
$ R CMD INSTALL cairoDevice_x.xx.tar.gz   

Please, advise.


Mahmoud Teaima, PhD.

Complete thread:

 Admin contact
21,179 posts in 4,414 threads, 1,474 registered users;
online 4 (0 registered, 4 guests [including 4 identified bots]).
Forum time: Sunday 18:24 CET (Europe/Vienna)

Mediocrity knows nothing higher than itself,
but talent instantly recognizes genius.    Arthur Conan Doyle

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