yjlee168
★★★
avatar
Homepage
Kaohsiung, Taiwan,
2017-06-08 00:02
(2485 d 22:31 ago)

(edited by yjlee168 on 2017-06-08 18:55)
Posting: # 17459
Views: 8,980
 

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

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
bear v2.9.1:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
CECIF
☆    

Colombia,
2017-06-16 20:28
(2477 d 02:05 ago)

@ yjlee168
Posting: # 17494
Views: 7,430
 

 bear v2.8.3 running error under OSX with RStudio

Hello,
I am haveing trouble with version 2.8.3 on windows.
when I type library(bear) this is what I get:

Error: package or namespace load failed for ‘bear’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘randomizeBE’


I have tried reinstalling many times and I am still getting the same message.
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2017-06-16 21:16
(2477 d 01:17 ago)

@ CECIF
Posting: # 17495
Views: 7,487
 

 randomizeBE missing

Hi CECIF,

❝ there is no package called ‘randomizeBE’


Hhm, bear should observe dependencies (i.e., automatically download/install required packages). Seems that you don’t have package randomizeBE.

❝ I have tried reinstalling many times and I am still getting the same message.


The message tells you that randomizeBE is missing. Re-installing bear would not help. Try this before typing library(bear):

package <- "randomizeBE"
inst    <- package %in% installed.packages()
if (length(package[!inst]) > 0) install.packages(package[!inst])
lapply(package, require, character.only=TRUE)

This should look whether randomizeBE is properly installed and – if not – automatically download it from your preferred CRAN-mirror and install it.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
yjlee168
★★★
avatar
Homepage
Kaohsiung, Taiwan,
2017-06-17 20:47
(2476 d 01:46 ago)

@ CECIF
Posting: # 17496
Views: 7,423
 

 installation problems of bear v2.8.3 for Windows

Hi CECIF,

It sounds like that you did not install all required packages correctly. Please have a look at this post. Skip Step 1: Java installation because we don't require Java VM any more since v2.8.1. Start from Step 3 & 4. All dependent packages need to be installed manually using preinst.r. Download preinst.r from Sourceforge and place it in your working directory (default in Windows is My Documents). Open R console and type source("preinst.r"). Select 1 for bear and then 0 to exit. After being done with all installation, remember to run R as system administrator for the first time. Then type library(bear) and go(). You will see a pop-up dialogue to remind you installing GTK+ driver for Windows. Just do it. You only have to do this once (until next update of RGtk2 package). Then close R console. And re-run R console again. Type library(bear) and go() to run bear.

For Helmut: many thanks for your help.:thumb up:

❝ ...

❝ I have tried reinstalling many times and I am still getting the same message.


All the best,
-- Yung-jin Lee
bear v2.9.1:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
jforbital
☆    

Mexico,
2018-01-21 20:03
(2258 d 01:30 ago)

@ yjlee168
Posting: # 18243
Views: 6,044
 

 installation problems of bear v2.8.3 for Windows

Hi my name is JForbital

How do I install the Bear :confused: program for the first time?


Edit: Full quote removed. Please delete everything from the text of the original poster which is not necessary in understanding your answer; see also this post #5. I deleted two TOFU-replies to your own post. What did you expect to achieve? [Helmut]
yjlee168
★★★
avatar
Homepage
Kaohsiung, Taiwan,
2018-01-21 21:13
(2258 d 00:20 ago)

@ jforbital
Posting: # 18246
Views: 6,032
 

 installation problems of bear v2.8.3 for Windows

Hi Jforbital,

For installation of bear for the first time, please browse this web page (remember to scroll down the web page) carefully.

❝ ... How do I install the Bear :confused: program for the first time?


All the best,
-- Yung-jin Lee
bear v2.9.1:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
UA Flag
Activity
 Admin contact
22,957 posts in 4,819 threads, 1,636 registered users;
85 visitors (0 registered, 85 guests [including 9 identified bots]).
Forum time: 21:33 CET (Europe/Vienna)

Nothing shows a lack of mathematical education more
than an overly precise calculation.    Carl Friedrich Gauß

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