[R] Open file for reading and writing with APPEND

2011-09-14 Thread Noah Silverman
Hi, I want to keep a running file of some statistics generated by a running process. Occasionally the process will be restarted. On restart, I'd like to read the last line of the log file to set some variables to their last state, and then continue to append values to that same file. I

Re: [R] Open file for reading and writing with APPEND

2011-09-14 Thread Henrik Bengtsson
See details on *argument* 'open' for file(), cf. help(file). /Henrik On Wed, Sep 14, 2011 at 12:38 PM, Noah Silverman noahsilver...@ucla.edu wrote: Hi, I want to keep a running file of some statistics generated by a running process.  Occasionally the process will be restarted. On