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 (102 d 06:41 ago) – Posting: # 21359
Views: 10,663

(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.8.8:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan
Download link (updated) -> here

Complete thread:

 Admin contact
20,986 posts in 4,375 threads, 1,460 registered users;
online 12 (0 registered, 12 guests [including 10 identified bots]).
Forum time: Sunday 17:00 CEST (Europe/Vienna)

The interpretation of facts in a certain way
stimulates other scientists’ thoughts.    Róbert Bárány

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