@@ -13593,10 +13593,10 @@ is modified it may suffice to call @code{Rf_shallow_duplicate}.
1359313593@comment FIXME need a separate section on attributes
1359413594At times it may be necessary to copy attributes from one object to
1359513595another. This can be done using @code{DUPLICATE_ATTRIB} or
13596- @code{SHALLOW_DUPLICATE_ATTRIB}
13596+ @code{SHALLOW_DUPLICATE_ATTRIB}.
1359713597@apifun DUPLICATE_ATTRIB
1359813598@apifun SHALLOW_DUPLICATE_ATTRIB
13599- @code{ANY_ATTRIB} checks whether there are any attributes and
13599+ @code{ANY_ATTRIB} checks whether there are any attributes, and
1360013600@code{CLEAR_ATTRIB} removes all attributes.
1360113601@apifun ANY_ATTRIB
1360213602@apifun CLEAR_ATTRIB
@@ -17050,7 +17050,7 @@ functions built on @code{R_ToplevelExec} are @code{R_tryEval} and
1705017050@code{R_tryEvalSilent}.
1705117051@example
1705217052SEXP R_tryEval(SEXP e, SEXP env, int *ErrorOccurred);
17053- SEXP R_tryEvalSilent(SEXP e, SEXP env, int *ErrorOccurred)
17053+ SEXP R_tryEvalSilent(SEXP e, SEXP env, int *ErrorOccurred);
1705417054@end example
1705517055@apifun R_tryEvalSilent
1705617056@apifun R_tryEval
@@ -17064,6 +17064,14 @@ option. For example, finalizers are run in a separate top level
1706417064context. The other functions mentioned in this section will usually be
1706517065more appropriate choices.
1706617066
17067+ Currently, if these evaluations produce an error that is handled by the
17068+ default handler, then the error message will be stored in a buffer that
17069+ can be accessed with @code{R_curErrorBuf}.
17070+ @example
17071+ const char *R_curErrorBuf(void);
17072+ @end example
17073+ @eapifun R_curErrorBuf
17074+ This design could change in the future.
1706717075
1706817076@node Allowing interrupts
1706917077@section Allowing interrupts
0 commit comments