Installing R v4.0.0 & bear on Catalina (macOS 10.15.3) [R for BE/BA]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2020-04-29 10:19 (378 d 18:07 ago) – Posting: # 21359
Views: 14,485

(edited by yjlee168 on 2020-04-29 21:01)

Dear Mahmound,

I just installed R v4.0.0 and bear on Catalina under virtualbox (VM). It is the same as previous steps on Mojave (see the attached picture). That is to install Xcode, Xcode commander line (both can be downloaded from Apple Development Center; login req.), MacPorts and XQuartz. Then install R v4.0.0 and GNU Fortran as described in CRAN website. No need to install RGtk2 & cairoDevice packages separately. I have already included these steps into 'preinst.r'.

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

The only warning I had during running bear was:
Unable to create basic Accelerated OpenGL renderer.
Unable to create basic Accelerated OpenGL renderer.
Core Image is now using the software OpenGL renderer. This will be slow.

This is a new warning message to me. However, it still runs well. I need to find out how to solve the issue (OpenGL renderer stuffs; it seems there is no way to fix it. It's Catalina. OpenGL has been deprecated by Apple. Please see this and this).

So I would like to suggest that you may consider to remove R first from your iMac and try the setup steps again. If it still doesn't work, the you may consider to re-set your iMac back to factory default first (remember to back up all your important data/files before that!). Sorry to keep you waiting.


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

Complete thread:

 Admin contact
21,457 posts in 4,485 threads, 1,512 registered users;
online 10 (0 registered, 10 guests [including 2 identified bots]).
Forum time: Thursday 04:26 CEST (Europe/Vienna)

Nothing in the world is more dangerous
than sincere ignorance
and conscientious stupidity.    Martin Luther King, Jr.

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