Difficulties with run NCA in BEAR [🇷 for BE/BA]
Dear Artem,
Sorry about the delay of this response. I just run bear as you did and did not find the same problem. I know that
If the dose is 'NA' or '', it means that
Sorry about the delay of this response. I just run bear as you did and did not find the same problem. I know that
saveRDS()
in GUI can be weird. The error you had was because saveRDS()
did not work properly. It failed to save the Dose. You can try following codes under R console:
x<- readRDS("bearGUI.setup.rds")
x
Methods Setting
1 run demo? 0
2 study design 0
3 single-/multiple-dose 0
4 lambda_z estimate 0
5 trapezoidal AUC 0
6 BE criterion (LL) 80
7 ODA 0
8 dose (in mg) 80 <-- is it 'NA' or ''?
9 dosing interval 24
10 Tlast 120
11 pAUC 0
12 pAUC_start 121
13 pAUC_end 128
14 indivDP_output 0
15 drug plasma conc. unit 1
16 is a metabolite? 0
17 x-axis label Time after dosing (hr)
18 y-axis label drugX plasma conc.
19 analysis types 0
20 data file format 0
21 Tmax_stat 1
If the dose is 'NA' or '', it means that
saveRDS()
fails to save the value. Why did this happen? I don't have a clue right now. You can try the following steps to see if the error goes away.- delete the set up file (i.e., bearGUI.setup.rds) from your working directory. And run bear again; If this still cannot work correctly, please try the next step.
- run the following codes under R console without GUI:
library(bear)
require(rChoiceDialogs)
x<- readRDS("bearGUI.setup.rds")
x<- edit (x) ### correct (edit) the dose and other parameter values if necessary
saveRDS(x,"bearGUI.setup.rds") ### save your setup
xxdf<- "";psdp<- "" ### leave the line as it is
xxdf<- rchoose.files(filters="*.csv") ### supposed that your data file is a csv format
go2menu(xxdf,psdp) ### leave the line as it is
If this step still does not work (it should, I have already tested), please install the previous version of bear (v2.7.7) if you need a quick solution.
❝ Error in if (Dose <= 0) Dose <- 0 else Dose <- as.numeric(Dose) : missing value, must be TRUE/FALSE
—
All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
Complete thread:
- Difficulties with run NCA in BEAR Artem Gusev 2017-04-28 11:22 [🇷 for BE/BA]
- Difficulties with run NCA in BEARyjlee168 2017-04-29 19:47
- Difficulties with run NCA in BEAR Artem Gusev 2017-05-02 09:56
- error fixed in BEAR yjlee168 2017-05-03 19:56
- error fixed in BEAR Artem Gusev 2017-05-06 07:56
- bear v2.8.1 released yjlee168 2017-05-06 17:50
- error with bear v2.8.2 running on R3.4.0 on macos 10.11.6 elcaptin mahmoud-teaima 2017-05-18 18:58
- error with bear v2.8.2 running on R3.4.0 on macos 10.11.6 elcaptin yjlee168 2017-05-18 21:48
- bear v2.8.2 running on R3.4.0 through RStudio on macos 10.12.5 sierra mahmoud-teaima 2017-05-20 10:32
- always on my mind~ yjlee168 2017-05-20 19:43
- bear v2.8.2 running on R3.4.0 through RStudio on macos 10.12.5 sierra mahmoud-teaima 2017-05-20 10:32
- error with bear v2.8.2 running on R3.4.0 on macos 10.11.6 elcaptin yjlee168 2017-05-18 21:48
- error with bear v2.8.2 running on R3.4.0 on macos 10.11.6 elcaptin mahmoud-teaima 2017-05-18 18:58
- bear v2.8.1 released yjlee168 2017-05-06 17:50
- error fixed in BEAR Artem Gusev 2017-05-06 07:56
- Difficulties with run NCA in BEARyjlee168 2017-04-29 19:47