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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2020-05-11 00:40 (255 d 22:49 ago) – Posting: # 21415
Views: 11,687

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.8.9:- 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,310 posts in 4,445 threads, 1,489 registered users;
online 8 (0 registered, 8 guests [including 3 identified bots]).
Forum time: Thursday 22:29 CET (Europe/Vienna)

Politicians use statistics like drunkards use lampposts:
not for illumination, but for support.    attributed to Hans Kuhn

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