Bioequivalence and Bioavailability Forum

Main page Policy/Terms of Use Abbreviations Latest Posts

 Log-in |  Register |  Search

Back to the forum  Query: 2017-10-17 00:03 CEST (UTC+2h)
 

bear v2.8.3 running error under OSX with RStudio [R for BE/BA]

posted by yjlee168 Homepage - Kaohsiung, Taiwan, 2017-06-07 22:02  - Posting: # 17459
Views: 1,177

(edited by yjlee168 on 2017-06-08 18:55)

Dear all,

If you still have the error or similar errors when running bear under OSX (Sierra) with RStudio (with current version 1.0.143), you can try one of following steps to solve the error.
  1. Just run bear with terminal. This is the most easy way to solve the problem. If you have to run R with RStudio, please see the next step.
  2. Before running bear under RStudio, maximize the window size of Plots panel first. Also do not place any window on the Plots panel. Keep it as clean as possible. It is quite sensitive. Otherwise, it may fail to run. If you still get the error or fail to run, you can try to add one more line after library(bear):
    options("device" = "quartz"). This will enable bear to plot with X11 graphic device, not RStudio graphic device (RStudioGD). What you loose as is not able to browse the plots on Plots panel backward or forward (I like that function very much too, but...). I will use the code for next release. One more thing to remind is not to close the plot window; otherwise, you won't see the plot for the following run. You have to 'Restart R' session from 'Session' of the top menu of RStudio or just press (ctrl+shift+F10) to fix this problem. However, no error occurs. Where does it plot? Space where no man has gone before? In Ubuntu/Linux or Windows (10), the plot window will show up again.
That's it. Thanks for reading.

All the best,
---Yung-jin Lee
[image]bear v2.8.3:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here

Complete thread:

Back to the forum Activity
 Mix view
Bioequivalence and Bioavailability Forum | Admin contact
17,394 Posts in 3,725 Threads, 1,071 registered users;
26 users online (0 registered, 26 guests).

The rise of biometry in this 20th century,
like that of geometry in the 3rd century before Christ,
seems to mark out one of the great ages or critical periods
in the advance of the human understanding.    R.A. Fisher

The BIOEQUIVALENCE / BIOAVAILABILITY FORUM is hosted by
BEBAC Ing. Helmut Schütz
XHTML/CSS RSS Feed