|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!|
Current version: 1.5.2 What's new?
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, there are other options. We prefer Rstudio, which is an excellent cross-platform environment for R. You can get it by clicking their logo. If you prefer to use the native R GUI or another, that is fine too.
If you have not done it already, obtain the Pmetrics package. 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 6.
As of Pmetrics 1.5.0, you no longer need Java.
Open Rstudio or the R GUI of your choice. Follow the appropriate procedure to install, depending on your software as below.
You can also use R scripting, although in Rstudio this sometimes (unpredictably) fails. Type the following command into the R console window (don't know what that means?):
A file chooser window will open and you can select the Pmetrics unextracted archive file that we sent you. On Mac systems, this will be a Pmetrics_xx.tgz file, and on Windows it will be a Pmetrics_xx.zip file, where xx is the version number, which is currently 1.5.2.
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.