#ifndef __RHELP_H__ #define __RHELP_H__ #include #include /* 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 #include #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