The function writes to filename the total memory used, the total process time elapsed and the session info of the R session.
Usage
save.session.profile(filename, stdout=FALSE);
Arguments
filename
Name of the file to write session profile information to. If stdout = TRUE, the session profile information is also printed to the screen.
stdout
Print session profile information to screen. Default is FALSE.
Value
No return value, just writes output to file (and possibly screen).
Details
Session profile includes memory used from gc(), process time elapsed from proc.time(), the output of ls() in the global environment, and the session info from sessionInfo()