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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2020-05-11 00:40  – Posting: # 21415
Views: 4,511

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.7:- 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
20,647 posts in 4,328 threads, 1,436 registered users;
online 22 (0 registered, 22 guests [including 12 identified bots]).
Forum time: 13:34 CEST (Europe/Vienna)

A little Learning is a dang’rous Thing;
Drink deep, or taste not the Pierian Spring:
There shallow Draughts intoxicate the Brain,
And drinking largely sobers us again.    Alexander Pope

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