Displaying 1 result from an estimated 1 matches for "r_endmemreporting".
2011 Aug 14
0
Improved version of Rprofmem
...+ if (R_MemPagesReporting) {
+ if (R_MemReportingOutfile != NULL)
+ fprintf(R_MemReportingOutfile, "new page:");
+ if (R_MemReportingToTerminal)
+ Rprintf("RPROFMEM: new page:");
+ R_OutputStackTrace();
}
return;
}
-static void R_EndMemReporting()
+static void R_EndMemReporting(void)
{
if(R_MemReportingOutfile != NULL) {
/* does not fclose always flush? */
@@ -3315,39 +3343,66 @@
return;
}
-static void R_InitMemReporting(SEXP filename, int append,
- R_size_t threshold)
+static void R_InitMemReporting(SEXP filename,...