The R Project SVN R

Rev

Rev 19505 | Rev 37376 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7728 ripley 1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
12778 pd 3
 *  Copyright (C) 2000, 2001 The R Development Core Team.
7728 ripley 4
 *
5
 *  This program is free software; you can redistribute it and/or modify
12778 pd 6
 *  it under the terms of the GNU Lesser General Public License as published by
7
 *  the Free Software Foundation; either version 2.1 of the License, or
7728 ripley 8
 *  (at your option) any later version.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12778 pd 13
 *  GNU Lesser General Public License for more details.
7728 ripley 14
 *
12778 pd 15
 *  You should have received a copy of the GNU Lesser General Public License
7728 ripley 16
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 */
19
 
20
#ifndef R_R_H
21
#define R_R_H
22
 
23
#ifndef USING_R
24
#define USING_R
25
#endif
26
 
27
#ifdef __cplusplus
28
extern "C" {
29
#endif
30
 
31
#include <stddef.h>
32
#include <stdlib.h>
33
#include <stdio.h>
34
#include <limits.h>
35
#include <float.h>
24732 ripley 36
#include <math.h>
7728 ripley 37
 
24732 ripley 38
 
11497 hornik 39
#include <Rconfig.h>
19500 hornik 40
#include <R_ext/Arith.h>      /* R_FINITE, ISNAN, ... */
41
#include <R_ext/Boolean.h>    /* Rboolean type */
42
#include <R_ext/Complex.h>    /* Rcomplex type */
43
#include <R_ext/Constants.h>  /* PI, DOUBLE_EPS, etc */
44
#include <R_ext/Error.h>      /* error and warning */
45
#include <R_ext/Memory.h>     /* R_alloc and S_alloc */
46
#include <R_ext/Print.h>      /* Rprintf etc */
47
#include <R_ext/Random.h>     /* RNG interface */
48
#include <R_ext/Utils.h>      /* sort routines et al */
49
#include <R_ext/RS.h>
7728 ripley 50
/* for PROBLEM ... Calloc, Realloc, Free, Memcpy, F77_xxxx */
51
 
52
 
53
typedef double Sfloat;
54
typedef int Sint;
10470 maechler 55
#define SINT_MAX INT_MAX
7728 ripley 56
#define SINT_MIN INT_MIN
57
 
58
#ifdef __cplusplus
59
}
60
#endif
61
 
62
#endif /* !R_R_H */