News

Xpose 4.1.0 released   2009-11-29 12:05 - Xpose
We have updated xpose for NONMEM 7 as well as added functions for odd type (categorical, TTE, count) plots including VPCs.
Read More »

Xpose 4 release 4 available   2008-12-14 12:33 - Xpose
This release makes Xpose 4 compatible with R 2.8.0. We have updated the method for opening graphical devices to be consistent with the new methods used in R version 2.8.0. Other changes are considered minor. Please see the change-log for more information.
Read More »

Xpose 4 release 3 available   2008-10-24 10:31 - Xpose
A minor fix. In the previous release, in compute.cwres(), a debugging flag had been left in the file resulting in R going into debugging mode when this function was called. This has been fixed in this release.
Read More »

Xpose 4 release 2 available   2008-10-14 08:25 - Xpose
Xpose version 4.0.2 is now available. This is a maintenance release for xpose with improved functionality for xpose.VPC() and some minor bug fixes. To find out more please read the release notes on the download page.
Read More »

Xpose 4.0 release 1 now available!   2008-06-13 09:54 - Xpose
Our first non-preview release! This version of Xpose incorporates visual and numerical predictive check capabilities, in concert with Perl-speaks-NONMEM (http://psn.sf.net). For more information type, at the R command line:
Read More »

Site news archive »

Documentation: Installation

This documentation refers to version 4 for R. For previous versions for S-PLUS, click here.

What you need

While Xpose 4 may well work using R under other operating systems, currently
we only support Windows and Linux platforms. Everything you need to run Xpose 4 is freely available. To install Xpose 4 You will need:

  1. R version >=2.2.0
  2. The Hmisc package
  3. The gam package
  4. The akima package
  5. The Xpose 4 package

 

Installation for windows

  1. Download the latest Windows version of R from www.r-project.org and install it.

  2. Download the latest windows binary release version of Xpose to a temporary location on your computer (anywhere).

  3. Start R.

  4. In R, select Packages -> Install package(s)... from the GUI menu. Select a CRAN mirror close to you, and choose Hmisc. Install it.

  5. In R, select Packages -> Install package(s)... from the GUI menu. Select a CRAN mirror close to you, and choose gam. Install it. The akima package will be automatically downloaded and installed at the same time.

  6. In R, select Packages -> Install package(s) from local zip file.... Find the Xpose binary file you downloaded, and install it.

  7. Xpose is now installed in R's library subfolder, with all its dependencies intact. You may load it using

    > library(xpose4)

and start the classical menu system, if you are nostalgic, using

> xpose4()

Installation from the command line (Linux or Windows)

  1. Download the latest version of R from www.r-project.org and install it.

  2. Download the latest version of Xpose for your operating system

  3. Start R. At the R command line enter:

> install.packages("Hmisc")
> install.packages("gam")

and the Hmisc and gam packages will be downloaded and installed from the mirror you select.

Alternatively, you can download the packages for Hmisc, gam and akima from:

http://cran.r-project.org/web/packages/Hmisc/index.html
http://cran.r-project.org/web/packages/gam/index.htm
http://cran.r-project.org/web/packages/akima/index.html

Start R. Enter (in Windows, for example)

> install.packages(c("c:/temp/Hmisc_3.0-12.zip", "c:/temp/gam_0.97.zip", "c:/temp/gam_0.97.zip"), repos=NULL)

assuming you put your downloaded files in the directory "C:/temp".

Type '?install.packages' at the R command line for more details.

  1. Install Xpose 4. At the R command line type:

    > install.packages("c:/temp/xpose4_4.0.1_win32.zip", repos=NULL)

if you are using Windows (change to the correct version number!), or

> install.packages("/tmp/xpose4_4.0.1.tar.gz", repos=NULL)

if you are using Linux. Note that this assumes that you have stored
your downloaded files in "C:\temp" or "/tmp/" and that the version number is 4.0.1. Substitute as needed.

NOTE: for windows, ensure you have downloaded the BINARY
distribution. If you have the source code release
(e.g. xpose4_4.0.1_src.zip), you will need to either (a) build the
packages from source code, as below, or download the correct file and
start again.

  1. Xpose is now installed in R's library subfolder, with all its dependencies intact. You may load it using

    > library(xpose4)

    and start the classical menu system, if you are nostalgic, using

    > xpose4()

Building Xpose 4 from source (Linux or Windows)

it may be desirable to compile Xpose yourself if you need to customize Xpose, or if you wish to work on a port to a different operating system, or another software host such as S-PLUS.

For Windows users, you will need to download the source distribution
(e.g. xpose4_4.0.1_src.zip) from the website. In addition you will
need to download some package building toolsets from the web. We
direct you to this rather useful tutorial on building R packages under
Windows:

http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html

This description is a bit outdated but useful as well:

http://faculty.chicagogsb.edu/peter.rossi/research/bayes%20book/bayesm/Making%20R%20Packages%20Under%20Windows.pdf

In addition the R help manuals give lots of information:

http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset
http://cran.r-project.org/doc/manuals/R-exts.html

Your task under Linux should be much simpler. All the tools you need ought
to be available already in almost all distributions. Simply follow the
instructions above for istallation from the command line. The *.tar.gz release version of xpose 4 is a compressed source distribution that can be built using the
command above. For more help on building R packages see:

http://cran.r-project.org/doc/manuals/R-exts.html

SourceForge.net Logo
DOCUMENTATION
THE ROAD TO 4.0
REPORT BUGS
LINKS