Artem Gusev ☆ Russia, Moscow, 2017-04-28 13:22 (2918 d 22:35 ago) Posting: # 17276 Views: 9,840 |
|
Dear all! I've installed the package Bear 2.7.8 in R 3.4.0 for Windows 7 (x64) with preinstall sсript with additional libraries, Java etc. Next, I've started demo-run (2*2*2 NCA and Statistics) and it was OK. Then I've prepared a suitable dataset, entered the dose and chose "RUN". After successful data import, when program switched to NCA, I've got the following error: Error in if (Dose <= 0) Dose <- 0 else Dose <- as.numeric(Dose) : missing value, must be TRUE/FALSE It seems that Dose value wasn't importing correctly. Also I've noticed that every time the package was run, the dose value was "NA". I will be grateful for any help with solving this problem. — Best Regards, Artem |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2017-04-29 21:47 (2917 d 14:11 ago) (edited on 2017-04-30 19:41) @ Artem Gusev Posting: # 17282 Views: 8,875 |
|
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 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") 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.
❝ 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 |
Artem Gusev ☆ Russia, Moscow, 2017-05-02 11:56 (2915 d 00:02 ago) @ yjlee168 Posting: # 17289 Views: 8,630 |
|
Dear, yjlee168! You are totaly right. The RDS was: > readRDS("bearGUI.setup.rds") Manual correcting of RDS solved the problem. Thanks alot for your code. Also at your request: Intel Core i-5 2430M, 8GB RAM, Windows 7 x64, HDD and SSD. — Best Regards, Artem |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2017-05-03 21:56 (2913 d 14:01 ago) @ Artem Gusev Posting: # 17301 Views: 8,578 |
|
Dear Artem, I have fixed the error and have uploaded v2.7.9 to Sourceforge already. Sorry about this error and thank you so much for bringing up this issue on the Forum. ❝ 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 |
Artem Gusev ☆ Russia, Moscow, 2017-05-06 09:56 (2911 d 02:02 ago) @ yjlee168 Posting: # 17307 Views: 8,541 |
|
Dear yjlee168, I've installed the latest version of package (2.8.0). Mentioned error is fixed. Thank you for your project! — Best Regards, Artem |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2017-05-06 19:50 (2910 d 16:07 ago) @ Artem Gusev Posting: # 17311 Views: 8,475 |
|
Dear Artem, I just uploaded bear v2.8.1 to Sourceforge. This may be the final release of bear for 2017. Have fun. — 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 |
mahmoud-teaima ★ 2017-05-18 20:58 (2898 d 15:00 ago) @ yjlee168 Posting: # 17368 Views: 8,318 |
|
Dear YJ LEE, Thanks for your effort handling many bugs encountered since the release of bear2.7.8 till bear2.8.2. I succeeded to run bear2.8.2 on R3.4.0 on macos 10.11.6 elcaptin but during running the demo for testing i got the following error: save all plots to a pdf file. Can you please, help with that? P.S. The X11 GUI got frozen after this error!!!!! Greetings. — Mahmoud Teaima, PhD. |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2017-05-18 23:48 (2898 d 12:10 ago) @ mahmoud-teaima Posting: # 17369 Views: 8,410 |
|
Dear Dr. Teaima, I am most afraid of taking question from iMac users, because I am not familiar with OSX at all. Do you run bear with RStudio? If yes, I may have the answer for your question. You need to maximize your Plots panel before running it. If you run bear without RStudio but with the terminal, then I don't know why it is so. I have a warning message about this when you open GUI on message logs window. ❝ ❝ ❝ ❝ ❝ — 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 |
mahmoud-teaima ★ 2017-05-20 12:32 (2896 d 23:26 ago) @ yjlee168 Posting: # 17376 Views: 8,182 |
|
Dear YJ Lee, ❝ I am most afraid of taking question from iMac users, because I am not familiar with OSX at all. Do you run bear with RStudio? If yes, I may have the answer for your question. You need to maximize your Plots panel before running it. You are right, this error message popped out only under Rstudio but not Rterminal!!!!!. sure, there should be a way out for this bug. Many thanks for your advise. Please, do your best for the max optimization and compatibility of bear with all platforms. Good luck. Greetings. — Mahmoud Teaima, PhD. |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2017-05-20 21:43 (2896 d 14:14 ago) @ mahmoud-teaima Posting: # 17378 Views: 8,219 |
|
Dear Dr. Teaima, It is not a bug (I think) because it did not happen to Windows plus RStudio. It occurred in Ubuntu/Linux or OSX (Unix-like?) plus RStudio. If it is a bug, it comes from RStudio. I just cannot help with it. Running bear with Rgui.exe or a terminal without RStudio on different platforms is just fine. I am thinking to turn screen plots off when running under RStudio, or to force to not allow users to run bear with RStudio. However it seems not to so fuzzy at all if I can remind users to maximize the window or view size of Plots panel under RStudio before running bear. So far, I cannot find a way to manipulate the window size of Plots panel from the code. ❝ Please, do your best for the max optimization and compatibility of bear with all platforms. Yes, it's always on my mind. BTW, if your OS is Windows, please run win.version() with Rgui.exe (R console) and under RStudio (currently it's v1.0.143). You can see the wired (or different) results. But RStudio denied this anyway. — 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 |