-
geoR ; for R running on LINUX and UNIX
There are several different ways and circunstances under which you might want to install geoR.
- Installing from inside an >R> session
- Upgrading from inside an >R> session
- Installing/Upgrading from the Linux/Unix command line
- Upgrading
- Installing
as root:
For a systemwise installation of geoR in the default R packages
directory start R as root (or as a user with permissions to write in the directory where R is installed) and type:
install.packages("geoR", contriburl="http://www.maths.lancs.ac.uk/~ribeiro/geoR")
as normal user:
- If you don't have root permissions and/or if you want to
use geoR as a local package in your account follow the steps:
- Create a directory to store R packages
(if you don't have one already).
You can call this directory .Rlibs, say:
mkdir .Rlibs
- Check the number of the version you are
installing at the tar.gz file and
install geoR by typing
(replacing x-x below with the version number):
R INSTALL -l .Rlibs geoR_1.x-x.tar.gz
- To use geoR during a section type:
library(geoR)
, if you have installed as a system library, or,
library(geoR, lib.loc="PATH/.Rlibs")
where PATH is your home directory, typically
/home/your_username; or add the line to the .Rprofile.
Back to latest versions of geoR & geoS
-
geoR ; for R running on WINDOWS
- download the compressed file with the
latest version of the package,
- uncompress (using winzip, pkunzip or similar).
This will create a directory called geoR
which should preferably be located at:
R_HOME/library
where R_HOME is the directory where
R is installed (e.g. c:/Program Files/R/rw1030).
- To use the package during a session type:
> library(geoR)
- If the package is installed in another directory you
should change .First.lib or load the file
geoR.dll manually by typing
>
dyn.load("PATH/geoR/libs/geoR.dll")
where PATH is the directory where the package is installed.
Back to latest versions of geoR & geoS
-
geoR ; for R running on MAC
To install the package on a mac the user has to do the following steps:
- download the
latest version of the package,
- uncompress the downloaded files e.g by StuffIt Expander (depending
on the settings of the browser this will happen automatically). The
result will be a directory /geoR containing all the necessary stuff.
- Move geoR to /rm130/library/ or add the path of the /geoR
directory to .lib.loc so that library() will load geoR
(rm130 is the directory where the mac R application normally resides)
Back to latest versions of geoR & geoS
-
geoS ; for S-PLUS 3.4 running on UNIX
- To store the library create a directory called geoS in your home directory
(or in the S-PLUS library directory, if you have the
permission). You should use the following commands:
mkdir geoS
cd geoS
- download the file with the latest version of the library,
copying it
to the geoS directory. Uncompress the file typing: (check the
version number for x-x)
tar xzf geoS3_1.x-x.tar.gz
- The library in now installed. We suggest that
analysis should be run in a
directory other than geoS.
- To run an analysis in another directory,
just type in the S-PLUS session:
> library(geoS, lib.loc="PATH", first=T)
where PATH is given by the installation directory
(defined in step 1): your home directory (for
example mine is /home/ribeiro) or the S-PLUS libraries
directory (if you or the administrator have installed geoS there)
Back to latest versions of geoR & geoS
-
geoS ; for S-PLUS 5.1 running on LINUX
- To store the library create a directory called geoS in your home directory
(or in the S-PLUS library directory, if you have the
permission). You should use the following commands:
mkdir geoS
cd geoS
- download the file with the latest version of the library, copying it
to the geoS directory. Uncompress the file typing: (check the
version number for x-x)
tar xzf geoS5linux.1.x-x.tar.gz
- Then type in the command prompt:
Splus CHAPTER
and for bash shell type:
(BOOTING_S="TRUE" export BOOTING_S;Splus)
or for csh/tcsh shell type:
(setenv BOOTING_S="TRUE"; setenv export BOOTING_S;Splus)
- To install the help files run the script geoShelp after making sure that it is executable:
chmod u+x geoShelp
./geoShelp
This file assumes that S-PLUS is called by
the command "Splus" in your system. If not, you should
change the file "geoShelp" accordingly.
- The library in now installed. We suggest that
analysis should be run in a
directory other than geoS.
- To use it during an analysis on another directory
just type inside the S-PLUS session:
> library(geoS, lib.loc="PATH", first=T)
where PATH is given by the installation directory
(defined in step 1): your home directory (for
example mine is /home/ribeiro) or the S-PLUS libraries
directory (if you or the administrator have installed geoS there)
Back to latest versions of geoR & geoS
-
geoS ; for S-PLUS 5.1 running on UNIX
- To store the library create a directory called
geoS in your home directory (or in the S-PLUS library directory, if you have the
permission). You should use the following commands:
mkdir geoS
cd geoS
- download the file with the latest version of the library,
copying it
to the geoS directory. Uncompress the file
typing: check the version number for x.xx)
tar xzf geoS5_1.x-x.tar.gz
- Then type the following commands:
Splus CHAPTER
Splus make boot
Splus make
If this doesn't work change the following line in Makefile:
echo "terminate\(should have been booting S\)"| $(SHOME)/S) ; \
to
echo "terminate\(should have been booting S\)"| $(SHOME)/cmd/S) ; \
- To install the help files run the script geoShelp after making sure that it is executable:
chmod u+x geoShelp
./geoShelp
This file assumes that S-PLUS is called by
the command "Splus" in your system. If not, you should
change the file "geoShelp" accordingly.
- The library in now installed. We suggest that
analysis should be run in a
directory other than geoS.
- To use it during an analysis on another directory
just type in the S-PLUS session:
> library(geoS, lib.loc="PATH", first=T)
where PATH is given by the installation directory
(defined in step 1): your home directory (for
example mine is /home/ribeiro) or the S-PLUS libraries
directory (if you or the administrator have installed
geoS there)
Back to latest versions of geoR & geoS
-
geoS ; for S-PLUS running on WINDOWS
- A compressed (zip) file is provided
containing 2 files: one with the text version of the
functions and a .dll file for the compiled code.
- To install a library in Windows you can follow
the general instructions in
Venables & Ripley, 1999.
Alternatively you can follow the
instructions below.
- It's assumed that geoS
is being installed in the libray directory:
SHOME\library.
Otherwise, change PATHS accordingly
in what follows.
- Create a directory called geoS
in SHOME\library
- download the file with the latest version of the
library, copying it to this directory.
- Unzip the file. Two files are provided within a
directory called geoS:
geoS_1.x-x.S and geoS.dll.
- start a S-PLUS section in the
geoS directory and load the
geoS functions by typing: (check the version
for x-x)
source("geoS_1.x-x.S")
- To analyse data in another working directory just
load the geoS library:
library(geoS, first=T)
or, if geoS is not in SHOME\library:
library(geoS, first=T, lib.loc=PATH)
where PATH defines where
geoS is installed, for example
"lib.loc=d:\\Slibs".
Back to latest versions of geoR & geoS
-
using geoR & geoS in the Maths & Stats
Dept., Lancaster University
If you are using any computer in the Dept you don't need to
install geoR or geoS.
You can just call the libraries from an R or S-PLUS section:
- If you are using R on the penguins,
after start a R session type:
library(geoR, lib.loc="/home/ribeiro/.Rlibs")
- If you are using S-PLUS 5.1 on the mathssun's,
after start a S-PLUS session type:
library(geoS, lib.loc="/home/ribeiro",first=T)
- If you are using S-PLUS 3.4 on the mathssun's,
after start a S-PLUS session type:
library(geoS3, lib.loc="/home/ribeiro",first=T)
- If you are using S-PLUS 5.1 in the penguins,
after start a S-PLUS session type:
library(geoS, lib.loc="/home/ribeiro",first=T)
Back to latest versions of geoR & geoS