| News |
|
Xpose 4.1.0 released 2009-11-29 12:05 - Xpose Xpose 4 release 4 available 2008-12-14 12:33 - Xpose Xpose 4 release 3 available 2008-10-24 10:31 - Xpose Xpose 4 release 2 available 2008-10-14 08:25 - Xpose Xpose 4.0 release 1 now available! 2008-06-13 09:54 - Xpose |
| 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:
Installation for windows
Download the latest Windows version of R from www.r-project.org and install it.
Download the latest windows binary release version of Xpose to a temporary location on your computer (anywhere).
Start R.
In R, select Packages -> Install package(s)... from the GUI menu. Select a CRAN mirror close to you, and choose Hmisc. Install it.
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.
In R, select Packages -> Install package(s) from local zip file.... Find the Xpose binary file you downloaded, and install it.
> library(xpose4)
and start the classical menu system, if you are nostalgic, using
> xpose4()
Installation from the command line (Linux or Windows)
Download the latest version of R from www.r-project.org and install it.
Download the latest version of Xpose for your operating system
> 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.
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.
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:
![]() |
DOCUMENTATION |