Current version: 1.5.2 What's new?
Email us to get Pmetrics for MacOSX
Email us to get Pmetrics for Windows
Do NOT open the archive (.zip or .tgz) file directly. R needs the package to be in this archived format to install properly in Step 5.
![]() |
Laboratory of Applied Pharmacokinetics and Bioinformatics Optimizing drug therapy for populations and individuals |
![]() ![]() |
![]() |
Click the logo to return to Pmetrics home page. | Pmetrics has evolved from decades of work. Please consider a donation to help support continued development. Thank you! |
March 24, 2020: As of version 1.9, Pmetrics is distributed through Github. Instructions on how to install are below. this is a far simpler install process. Soon, we hope that Pmetrics will be distributed through CRAN and can be installed like any other package in R. Version 1.9 should be viewed as a beta pre-release. Feedback on github for bugs is welcome.
If automatic downloading and installation of gfortran fails when running PMbuild() in step 5, please visit the older instructions on how to manually install gfortan prior to running PMbuild().
Current version: 1.5.2 What's new?
Email us to get Pmetrics for MacOSX
Email us to get Pmetrics for Windows
Do NOT open the archive (.zip or .tgz) file directly. R needs the package to be in this archived format to install properly in Step 5.
R is a freely available statistical software package and programming languange available for Windows, Unix (Mac) and Linux systems. Pmetrics is an add-on package for R. Click the R icon to be linked to the Comprehensive R Archive Network (CRAN) and download the appropriate version for your system.
Although R comes with a basic graphical user interface for writing scripts, Rstudio is a better option. You can get it by clicking their logo. If you prefer to use the native R GUI or another, you can.
In Rstudio, you can either select the Tools menu and the Install packages option, or click the Install button on the Packages tab of the lower right window in Rstudio.
Make sure you are installing from CRAN and not a local .tgz or .zip archive.
Type "devtools" and install.
Be sure to restart Rstudio before this step! Then, type the following into the R console (lower left window of Rstudio): devtools::install_github("LAPKB/Pmetrics")
If you are prompted to update packages, it is okay to update from CRAN. Choose "2: CRAN packages only". If further prompted "There is a binary version available but the source version is later:" enter "N" or "No" to NOT install from the source version.
To start using Pmetrics, be sure to download the example script, model file, data files, and instruction files from the Example Section. Do also carefully read the User Manual!
Hopefully, you have been able to successfully install all the required components. Please use the LAPK Forum if you are having problems.
Hopefully, you have been able to successfully install all the required components. Please use the LAPK Forum if you are having problems.
If you are new to Pmetrics, download a zip file containing an example R script, data .csv file, and fortran model file to run Pmetrics.
Here are some things that you can do to make Pmetrics run the way you want it to.