yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2023-12-18 02:39 (513 d 14:57 ago) Posting: # 23793 Views: 3,081 |
|
Dear all, Still using or interested in bootf2BCA? The good news is bootf2BCA v1.3.2 has been released at SourceForge. You can download it (a zip file) from here. Of course, I am not even the developer. The developer is Prof. dr hab. Aleksander Mendyk (Poland). I just came to update the news this & other discussions that appeared in this Forum. Still, no NEWS file is included. Same as the previous versions, it was developed in two versions: CLI (command line mode?) & GUI (using shiny). CLI version should be very easy to use, though I never tried before; GUI version seems OK; However, I cannot select files from GUI for the data files of the reference group, the test group or the report (or output) files under R v4.1.3 or R v4.3.2 running on Windows 10. The error message was "Files not found..." or something like that. It uses an R package- shinyFiles to deal with file selection. I don't know if the GUI works in Linux or not; from the screenshots (file type format), the developer seemed using Linux OS to develop it. Since I was using shiny & shinydashboard to code some UIs right now, I then made some modifications from sources of bootf2BCA without developer's permission. But it should be OK because I have not released the modified version to anyone yet. I just want to know if there is any one can try bootf2BCA v1.3.2 under Windows 11? or macOS? Since shiny is a package that we can develop a web-based interactive UI, I also modify its UI (only) into traditional Chinese UI & Japanese UI (using Google's translation function). Apparently, R 4.3.2 (ucrt is really great, uh?) is better than R 4.1.3 regarding its appearance (on Google Chrome web browser). The original is English of course. Add themes from bootstrap (not that bootstrapping, ok?) library (bslib - also a R package) to it. That's it. Thank you all & Dr. Aleksander Mendyk . -- Yung-jin Japanese UI ![]() traditional Chinese UI ![]() — 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 |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2023-12-20 08:01 (511 d 09:34 ago) (edited on 2023-12-20 15:56) @ yjlee168 Posting: # 23797 Views: 2,335 |
|
Dear all, I have found a way to assess the data file for bootf2BCA v1.3.2 from its shiny UI. First, the command volumes=getVolumes() (line#15 in server.R) from package shinyFiles is OS specific and looks for volumes/drives in different places depending on the system on which shiny is running. It is very correct when it is running under Linux (Debian/Ubuntu). I mean when I click the Browse... button it shows the exact folder with all files. I guess it should be no problem too under macOS. However, When running under Windows, it shows different features. getVolume is very flexible. it searches all drives existing in your system, including all usb drives (really amazing). The following picture shows the error at the left-bottom corner - "Folder does not exist" only in Windows. I will explain this later. Using getVolume from package shinyFiles allows users to access the data files from any drive. The following picture shows that users should click the dropdown menu and select 'o(F:)' (my case only; all drives with leading 'o' should work, such as 'o(E)' or 'o(C)'), not the above one (a small folder icon + F:). Then it will show you all F drive contents. Several clicks to go to find the data files. I set the working directory with setwd("F:/bootf2BCA_v1.3.2/GUI") . Then the error message occurred ("Folder does not exist"). That was because the app went to search the folder of "F:/F:/bootf2BCA_v1.3.2/GUI". Of course, no such a folder exists. To prove this, I fixed the line#19 (in server.R) my_current_dir<- getwd() with my_current_dir<- "/bootf2BCA_v1.3.2/GUI" . Then it works perfectly, just like in Linux. No need to click, click, and click anymore.![]() Other issues:
--Yung-jin — 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 |