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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2020-05-11 00:40 (499 d 13:50 ago) – Posting: # 21415
Views: 13,955

Hi Jay,

Rgiht. It sounds like gtk+ driver was not installed correctly. Did you install gtk+ driver with Macport first?

$ export PATH=/opt/local/bin:/opt/local/sbin:$PATH
$ sudo port selfupdate
$ sudo port install pkgconfig
$ sudo port install gtk2 +x11


Make sure all above four steps end up with no error. Then run source("preinst.r") again. If you still get some errors, you may consider removing all R first. And re-install R (I saw you installing R v3.6.x from your messages.)

» ...** testing if installed package can be loaded from temporary location
» R session is headless; GTK+ not initialized.

» Need GTK+ ? (Restart R after installing)
»
» 1: Install GTK+
» 2: Do not install GTK+

Do not install gtk+ like this. It won't work with macOS. It only works for Windows OS.

All the best,
-- Yung-jin Lee
bear v2.9.0:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here

Complete thread:

Activity
 Admin contact
21,691 posts in 4,534 threads, 1,541 registered users;
online 6 (0 registered, 6 guests [including 4 identified bots]).
Forum time: Wednesday 14:31 CEST (Europe/Vienna)

With four parameters I can fit an elephant,
and with five I can make him wiggle his trunk.    John von Neumann

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