This file is indexed.

/usr/share/doc/r-cran-tgp/README is in r-cran-tgp 2.4-14-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
This is the R-package: tgp.  

It has been tested on Linux, FreeBSD, OSX, and Windows.  

This README is a sub.  Please see the R-package documentation or 
vignette for more information.  It should be possible to install 
this source package via "R CMD INSTALL tgp", where "tgp" is this 
directory, from "../".

Below are some comments on compiling with support for pthreads,
and linking with ATLAS, or other linear algebra library (different
than the one already used by R).


SUPPORT FOR PTHREADS
--------------------

1.) Add "-DPARALLEL" to PKG_CXXFLAGS of src/Makevars

2.) You may need to add "-pthread" to PKG_LIBS of src/Makevars, 
or whatever is needed by your compiler in order to correctly link
code with pthreads functions.


SUPPORT FOR ATLAS
-----------------

ATLAS is supported as an alternative to standard BLAS and LAPACK for
fast, automatically tuned, linear algebra routines.  There are three
easy steps to enable ATLAS support (assuming, of course, you have
already installed it -- http://math-atlas.sourceforge.net) which need
to be done before you install the package from source:

Note that this is not the recommended method for getting fast linear
algebra routines for tgp.  The best way to do this is to compile R
with ATLAS (or other libraries) support.  See the R installation 
manual: http://cran.r-project.org/doc/manuals/R-admin.html under
A.2.2

-- Begin ATLAS Instructions

1.: Edit src/Makevars.  Comment out the existing PKG_LIBS line, and
replace it with:
	
PKG_LIBS = -L/path/to/ATLAS/lib -llapack -lcblas -latlas

you may need replace "-llapack -lcblas -latlas" with whatever ATLAS
recommends for your OS.  (see ATLAS README.) For example, if your
ATLAS compilation included F77 support, you would might need to add
"-lF77blas", of if you compiled with pthreads, you would might use
"-llapack -lptcblas -lptf77blas -latlas".

2.: Continue editing src/Makevars.  Add:

PKG_CFLAGS = -I/path/to/ATLAS/include

3.: Edit src/linalg.h and commend out lines 40 & 41:

/*#define FORTPACK
#define FORTBLAS*/

--- End ATLAS Instructions --

Reverse the above instructions to disable ATLAS. Don't forget to
re-install.