INSTALL 1.71 KB
Newer Older
1 2 3 4

			INSTALLING R UNDER UNIX


5 6 7
This document concerns building and installing R from sources.  Pre-made
binaries are made available for some systems with varying regularity and
can be obtained from CRAN (see the RESOURCES file).
8

9 10 11 12
The main source of information on installation is the `R Installation
and Administration Manual', an HTML copy of which is available as file
`doc/html/R-admin.html'.  Please read that before installing R.  But
if you are impatient, read on but please refer to the manual to
13 14
resolve any problems.  (If you obtained R using Subversion, the manual
is at doc/manual/R-admin.texi.)
15 16


17
SIMPLE COMPILATION
18

19 20
As you are reading this file, you have unpacked the R sources and are
presumably in the top directory.  Issue the following commands:
21 22 23 24

	./configure
	make

25 26 27
(If your make is not called `make', set the environment variable MAKE to
its name, and use that name throughout these instructions.)
This will take a while, giving you time to read `R-admin.html'.
28

29
Then check the built system worked correctly, by
30

31
	make check
32

33
and make the manuals by (as many options as preferred from)
34

35 36 37
	make dvi	to create DVI versions
	make pdf	to create PDF versions
	make info	to create info files
38

39 40 41
However, please read the notes in `R-admin.html' about making the
reference manual.

42

43 44
INSTALLATION

45 46
You do not need to install R to run it: you can run R by the script
`bin/R' which you can link or copy to any convenient place in your path.
47

48
For a site-wide installation, use
49 50

	make install
51 52 53
	make install-dvi
	make install-info
	make install-pdf
54

55
choosing to install the manuals that you made.
56

57 58
This installs to the default location (typically `/usr/local') for your
platform: see the Installation and Administration Manual for other options.