Installing xpose 4

317 views

Published on

Published in: Internet, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
317
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Installing xpose 4

  1. 1. Installation This documentation refers to version 4 for R. For previous versions for S-PLUS, click here. 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. Installation for windows 1. Download the latest Windows version of R from www.r-project.org and install it. 2. Open R, select Packages -> Install package(s)... from the GUI menu. Select a CRAN mirror close to you, and choose xpose4. 3. Done! Installation from the command line (Linux or Windows) 1. Download the latest Windows version of R from www.r-project.org and install it. 2. Start R. At the R command line enter: > install.packages("xpose4") and all the required packages will be downloaded and installed from the mirror you select. 3. Done! -------------------------------------------------------------------------------------- Instalation for R versions < 2.12.0 (or if you install without an internet connection)
  2. 2. What you need 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 binary release versions of Xpose to a temporary location on your computer (anywhere). 2. Start R. 3. In R, select Packages -> Install package(s)... from the GUI menu. Select a CRAN mirror close to you, and choose Hmisc. Install it. 4. 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. 5. In R, select Packages -> Install package(s) from local zip file.... Find the Xpose binary files you downloaded, and install in order: 1. Data package (xpose4data) 2. Generic package (xpose4generic) 3. Specific package (xpose4specific) 4. Classic package (xpose4classic) 5. Main package (xpose4) 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.
  3. 3. 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. 4. Install Xpose 4. At the R command line type: > install.packages("c:/temp/xpose4data_4.3.0.zip", repos=NULL) > install.packages("c:/temp/xpose4generic_4.3.0.zip", repos=NULL) > install.packages("c:/temp/xpose4specific_4.3.0.zip", repos=NULL) > install.packages("c:/temp/xpose4classic_4.3.0.zip", repos=NULL) > install.packages("c:/temp/xpose4_4.3.0.zip", repos=NULL) if you are using Windows (change to the correct version number!), or > install.packages("c:/temp/xpose4data_4.3.0.tar.gz", repos=NULL) > install.packages("c:/temp/xpose4generic_4.3.0.tar.gz", repos=NULL) > install.packages("c:/temp/xpose4specific_4.3.0.tar.gz", repos=NULL) > install.packages("c:/temp/xpose4classic_4.3.0.tar.gz", repos=NULL) > install.packages("c:/temp/xpose4_4.3.0.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.3.0. Substitute as needed. NOTE: for windows, ensure you have downloaded the BINARY distribution (.zip).
  4. 4. 5. 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%20Pac kages%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

×