Displaying 1 result from an estimated 1 matches for "wpswork".
Did you mean:
pwork
2008 Dec 20
1
Calling an R Exit Function
...rst, I'm running on Windows XP SP2 using R 2.7.1. I
have a series of R programs that run numerous times a day. At the end of
each program, I have a call that appends a line of text to another file --
called completed.txt. for example,
cat("File Completed - WPS2R1 \n",file = "D:\\WPSWork\\WPS Temporary
Data\\_TD4216\\completed.txt ",append=TRUE)
I place this at the very end of my programs and this works fine if the
program doesn't terminate abnormally for some reason.
What I would like to do is whenever R runs my jobs, I would like to have
that line above execute whether...