| Line 1... |
Line 1... |
| 1 |
/*
|
1 |
/*
|
| 2 |
* R : A Computer Language for Statistical Data Analysis
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
| 3 |
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
|
3 |
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
|
| 4 |
* Copyright (C) 1998--2024 The R Core Team.
|
4 |
* Copyright (C) 1998--2026 The R Core Team.
|
| 5 |
*
|
5 |
*
|
| 6 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* This program is free software; you can redistribute it and/or modify
|
| 7 |
* it under the terms of the GNU General Public License as published by
|
7 |
* it under the terms of the GNU General Public License as published by
|
| 8 |
* the Free Software Foundation; either version 2 of the License, or
|
8 |
* the Free Software Foundation; either version 2 of the License, or
|
| 9 |
* (at your option) any later version.
|
9 |
* (at your option) any later version.
|
| Line 57... |
Line 57... |
| 57 |
|
57 |
|
| 58 |
#include <R_ext/Boolean.h>
|
58 |
#include <R_ext/Boolean.h>
|
| 59 |
|
59 |
|
| 60 |
#ifdef R_INTERFACE_PTRS
|
60 |
#ifdef R_INTERFACE_PTRS
|
| 61 |
# include <Rinternals.h> // for SEXP
|
61 |
# include <Rinternals.h> // for SEXP
|
| 62 |
# include <R_ext/RStartup.h> // for SA_TYPE
|
- |
|
| 63 |
#endif
|
62 |
#endif
|
| - |
|
63 |
#include <R_ext/RStartup.h> // for SA_TYPE
|
| 64 |
|
64 |
|
| 65 |
#ifdef __cplusplus
|
65 |
#ifdef __cplusplus
|
| 66 |
extern "C" {
|
66 |
extern "C" {
|
| 67 |
#endif
|
67 |
#endif
|
| 68 |
|
68 |
|
| Line 89... |
Line 89... |
| 89 |
extern void R_SaveGlobalEnv(void);
|
89 |
extern void R_SaveGlobalEnv(void);
|
| 90 |
extern void R_SaveGlobalEnvToFile(const char *);
|
90 |
extern void R_SaveGlobalEnvToFile(const char *);
|
| 91 |
extern void R_FlushConsole(void);
|
91 |
extern void R_FlushConsole(void);
|
| 92 |
extern void R_ClearerrConsole(void);
|
92 |
extern void R_ClearerrConsole(void);
|
| 93 |
NORET extern void R_Suicide(const char *);
|
93 |
NORET extern void R_Suicide(const char *);
|
| - |
|
94 |
NORET extern void R_CleanUp(SA_TYPE, int, int);
|
| 94 |
extern char *R_HomeDir(void);
|
95 |
extern char *R_HomeDir(void);
|
| - |
|
96 |
extern void run_Rmainloop(void);
|
| - |
|
97 |
extern void R_Busy(int);
|
| - |
|
98 |
extern int R_ReadConsole(const char *, unsigned char *, int, int);
|
| - |
|
99 |
extern void R_WriteConsole(const char *, int);
|
| - |
|
100 |
extern void R_WriteConsoleEx(const char *, int, int);
|
| - |
|
101 |
extern void R_ResetConsole(void);
|
| - |
|
102 |
extern int R_EditFiles(int, const char **, const char **, const char *);
|
| 95 |
extern int R_DirtyImage; /* Current image dirty */
|
103 |
extern int R_DirtyImage; /* Current image dirty */
|
| 96 |
extern char *R_GUIType;
|
104 |
extern char *R_GUIType;
|
| 97 |
extern void R_setupHistory(void);
|
105 |
extern void R_setupHistory(void);
|
| 98 |
extern char *R_HistoryFile; /* Name of the history file */
|
106 |
extern char *R_HistoryFile; /* Name of the history file */
|
| 99 |
extern int R_HistorySize; /* Size of the history file */
|
107 |
extern int R_HistorySize; /* Size of the history file */
|