https://github.com/cran/tgp
Raw File
Tip revision: dc1ea80208b635d5d33ca670cb8a150315647a21 authored by Robert B. Gramacy on 08 April 2011, 13:50:15 UTC
version 2.4-2
Tip revision: dc1ea80
rhelp.h
#ifndef __RHELP_H__
#define __RHELP_H__

#include <stdio.h>
#include <time.h>

/* this is now covered by -D RPRINT flags in Makevars */
/*#define RPRINT*/

#ifndef RPRINT
void warning(const char *str, ...);
void error(const char *str, ...);
#else
#include <R_ext/Utils.h>
#include <R.h>
#endif

void R_FlushConsole(void); /* R < 2.3 does not have this in R.h (in Rinterface.h) */
void myprintf(FILE *outfile, const char *str, ...);
void myflush(FILE *outfile);
time_t my_r_process_events(time_t itime);

#endif
back to top