CXXR (C++ R)
Namespaces | Macros | Functions
errors.cpp File Reference

($Id: errors.cpp 1348 2013-02-25 17:49:03Z arr $)

#include <signal.h>
#include <iostream>
#include <config.h>
#include <Defn.h>
#include <Startup.h>
#include <Rconnections.h>
#include <Rinterface.h>
#include <R_ext/GraphicsEngine.h>
#include <Rmath.h>
#include <cstdarg>
#include "CXXR/ClosureContext.hpp"
#include "CXXR/CommandTerminated.hpp"
#include "CXXR/ReturnException.hpp"
#include <R_ext/rlocale.h>
Include dependency graph for errors.cpp:

Namespaces

namespace  CXXR
 Namespace for the CXXR project.

Macros

#define min(a, b)   (a<b?a:b)
#define LONGWARN   75
#define BUFSIZE   8192
#define RESULT_SIZE   3
#define RESTART_EXIT(r)   VECTOR_ELT(r, 1)

Functions

void R_CheckStack (void)
void R_CheckUserInterrupt (void)
void onintr ()
RETSIGTYPE attribute_hidden onsigusr1 (int dummy)
RETSIGTYPE attribute_hidden onsigusr2 (int dummy)
void warning (const char *format,...)
void warningcall (SEXP call, const char *format,...)
void warningcall_immediate (SEXP call, const char *format,...)
void PrintWarnings (void)
const char * R_curErrorBuf ()
void errorcall (SEXP call, const char *format,...)
SEXP attribute_hidden do_geterrmessage (SEXP call, SEXP op, SEXP args, SEXP env)
void error (const char *format,...)
void jump_to_toplevel ()
SEXP attribute_hidden do_gettext (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_ngettext (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_bindtextdomain (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_stop (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_warning (SEXP call, SEXP op, SEXP args, SEXP rho)
attribute_hidden void WrongArgCount (const char *s)
void UNIMPLEMENTED (const char *s)
void ErrorMessage (SEXP call, int which_error,...)
void WarningMessage (SEXP call, R_WARNING which_warn,...)
void R_PrintDeferredWarnings (void)
void R_SetErrmessage (const char *s)
void R_SetErrorHook (void(*hook)(SEXP, char *))
void R_SetWarningHook (void(*hook)(SEXP, char *))
SEXP R_GetTraceback (int skip)
SEXP attribute_hidden do_traceback (SEXP call, SEXP op, SEXP args, SEXP rho)
void CXXR::TRACEBACK ()
SEXP attribute_hidden do_addCondHands (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_resetCondHands (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_signalCondition (SEXP call, SEXP op, SEXP args, SEXP rho)
void attribute_hidden R_InsertRestartHandlers (ClosureContext *cptr, Rboolean browser)
SEXP attribute_hidden do_dfltWarn (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_dfltStop (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_getRestart (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_addRestart (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_invokeRestart (SEXP call, SEXP op, SEXP args, SEXP rho)
SEXP attribute_hidden do_seterrmessage (SEXP call, SEXP op, SEXP args, SEXP env)
SEXP attribute_hidden do_printDeferredWarnings (SEXP call, SEXP op, SEXP args, SEXP env)
SEXP attribute_hidden do_interruptsSuspended (SEXP call, SEXP op, SEXP args, SEXP env)
SEXP R_GetCurrentSrcref (int skip)
SEXP R_GetSrcFilename (SEXP srcref)

Detailed Description

Error and warning handling.