install bear on Windows 11 [🇷 for BE/BA]
I just install Windows 11 English x64 pro on a virtual machine (VirtualBox) to find out if we can also install bear on Windows 11. Well, it was not as easy as I imagined at the beginning. Under Windows 11, it will backup all files from Documents to oneDrive (cloud HD) as defaut. Since my previous oneDrive account was set to local language (the traditional Chinese), I got error messages to read the package file (either *.tar.gz or *.zip) from the R working directory. Then I found out that the R working directory was named as "文件". It turned out to be "??" in R. Therefore, I was unable to read the package file from the R working directory. What I did to solve this problem was to "stop backup" (to oneDrive) for the directory of Documents. Remember to backup all your files in the directory of Documents to the other directory first to avoid data loss before setting "stop backup". Then the name of the R working directory was switched back to English (Documents). That may be because I installed English x64 Windows 11 and the system locale was set to English (US). Here is how to change system locale & language setting for Windows 11. This is very important for users who install Windows 11 with non-English languages/countries or system locale. So, before installing bear, please make sure that the working directory is shown in English using getwd() under the R console. After setting "stop backup", it seemed everything is back to normal, including being able to save the preferences of R console into the working directory. Same for ivivc, PKfit, stab & tdm. Let me know if there is a better or different way to solve the issue.
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