upgrade R with macOS (Mojave) [R for BE/BA]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2019-07-08 08:40 (479 d 19:40 ago) – Posting: # 20378
Views: 14,386

Dear all,

It should be very easy to upgrade R with macOS (Mojave). Since I am not familiar with macOS and I do not have an iMac (just running macOS under VirtualBox), I used to be afraid to do this. So I stayed with R v3.5.1 for a while. But recently, I feel much comfortable now. Here is steps:
  1. Delete the previous R with two commands under a terminal:
    $ rm -rf /Applications/R.app
    $ sudo rm -rf /Library/Frameworks/R.framework
  2. Install new R (R-x.x.x.pkg) and re-install gfortan_6.1.pkg (it is required; obtained it from CRAN mirror): Remember to install R first followed by gfortran_6.1.pkg. This is because gfortran will install some fortran/C/C++ header files into /R.framework; so we have to do it again;
  3. Re-install RGtk2 and cairoDevice package as previous post;
  4. Re-run source(“preinst.r”) under R console;
  5. Re-install bear package.
That's it.

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,179 posts in 4,414 threads, 1,474 registered users;
online 5 (0 registered, 5 guests [including 5 identified bots]).
Forum time: Friday 04:21 UTC (Europe/Vienna)

The idea is to try and give all the information to help others
to judge the value of your contribution;
not just the information that leads to judgment
in one particular direction or another.    Richard Feynman

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