diff options
| author | ziejd2 | 2017-09-14 15:39:41 -0500 |
|---|---|---|
| committer | ziejd2 | 2017-09-14 15:57:50 -0500 |
| commit | c4f926438dcb8abe805e910399940f79ff643c4b (patch) | |
| tree | 3146d05ada5cf4b48d9bdd16c1baa498e8df7192 /sourcecodes/localscore/R.h | |
| parent | 57ebf49403b75dcf8482d174b59f7fd2a961d98e (diff) | |
| download | BNW-c4f926438dcb8abe805e910399940f79ff643c4b.tar.gz | |
Add files via upload
Diffstat (limited to 'sourcecodes/localscore/R.h')
| -rw-r--r-- | sourcecodes/localscore/R.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sourcecodes/localscore/R.h b/sourcecodes/localscore/R.h new file mode 100644 index 00000000..5c5696b3 --- /dev/null +++ b/sourcecodes/localscore/R.h @@ -0,0 +1,65 @@ +/* + * R : A Computer Language for Statistical Data Analysis + * Copyright (C) 2000-2010 The R Core Team. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, a copy is available at + * http://www.r-project.org/Licenses/ + */ + +#ifndef R_R_H +#define R_R_H + +#ifndef USING_R +# define USING_R +#endif + +#ifndef NO_C_HEADERS +#include <stdlib.h> +#include <stdio.h> /* Used by several packages, remove in due course */ +#include <limits.h> /* for INT_MAX */ +#include <math.h> +#endif + +#include "Rconfig.h" +#include "Arith.h" /* R_FINITE, ISNAN, ... */ +#include "Boolean.h" /* Rboolean type */ +#include "Complex.h" /* Rcomplex type */ +#include "Constants.h" /* PI, DOUBLE_EPS, etc */ +#include "Error.h" /* error and warning */ +#include "Memory.h" /* R_alloc and S_alloc */ +#include "Print.h" /* Rprintf etc */ +#include "Random.h" /* RNG interface */ +#include "Utils.h" /* sort routines et al */ +#include "RS.h" +/* for PROBLEM ... Calloc, Realloc, Free, Memcpy, F77_xxxx */ + + +typedef double Sfloat; +typedef int Sint; +#define SINT_MAX INT_MAX +#define SINT_MIN INT_MIN + +#ifdef __cplusplus +extern "C" { +#endif + +void R_FlushConsole(void); +/* always declared, but only usable under Win32 and Aqua */ +void R_ProcessEvents(void); + +#ifdef __cplusplus +} +#endif + +#endif /* !R_R_H */ |
