Pmetrics cannot be used when the R was upgraded to 4.5
resolved
**I upgraded my R from 4.3 to 4.5 today. And I reinstalled Pmetrics. After I executed PMbuild(), then it reminded that as follows:**
_"Pmetrics cannot find required compiled binary files.
C:\rtools45\x86_64-w64-mingw32.static.posix\bin\gfortran.exe
Pmetrics has detected gfortran and will compile required binary files.
If the registration time outs, please re-run PMbuild(skipRegistration = TRUE) Pmetrics has anonymously registered your installation of this version.
LAPKB does not collect or store any personal or identifying information.
Compiling 1 of 9: NPprep...
Compiling 2 of 9: NPeng...
Compiling 3 of 9: ITprep...
Compiling 4 of 9: ITeng...
Compiling 5 of 9: ITerr...
Compiling 6 of 9: SIMeng...
Compiling 7 of 9: DOprep...
Compiling 8 of 9: DOeng...
Compiling 9 of 9: mb2csv...
All packages installed and permanent Fortran modules compiled."_
**Then I executed the example, "NPrun(data="ex.csv",model="model.txt")", but it could not be executed successfully, and it reminded me as follows:**
_Model solver mode: Algebraic
Number of compartments: 2, including an absorptive compartment
Primary Variables: Ka, Ke, V, Tlag1
Covariates in data file: wt, africa, age, gender, height
Covariates used in model file: WT, AFRICA, AGE, GENDER, HEIGHT
Secondary Variables: KCP, KPC
Model conditions: no bioavailability term defined, initial conditions are zero, lag term defined
Number of cycles to run: 100
Pmetrics cannot find required compiled binary files.
C:\rtools45\x86_64-w64-mingw32.static.posix\bin\gfortran.exe
Pmetrics has detected gfortran and will compile required binary files.
If the registration time outs, please re-run PMbuild(skipRegistration = TRUE) Pmetrics has anonymously registered your installation of this version.
LAPKB does not collect or store any personal or identifying information.
Compiling 1 of 9: NPprep...
Compiling 2 of 9: NPeng...
Compiling 3 of 9: ITprep...
Compiling 4 of 9: ITeng...
Compiling 5 of 9: ITerr...
Compiling 6 of 9: SIMeng...
Compiling 7 of 9: DOprep...
Compiling 8 of 9: DOeng...
Compiling 9 of 9: mb2csv...
All packages installed and permanent Fortran modules compiled.
' NPAG run initiated at 13:31 on 2025 6�� 10._
**It executed PMbuild() again, and the example could not be executed successfully.**
**How can I solve this problem?**
关闭于 2025-06-17 12 条评论