I understand how I may use message() to provide some output on which run I will be looking at. However, I wish to automate it, and have it written out to a tab-delimited file. Below is the command to output my coefficients:

write.table(zbetas, file = "z_coeffs.csv", sep="\t", append = TRUE)

I do this run multiple times. It appends the latter results to the end of my .csv file.

Is there a way to say just before the write.table something to the effect of:

title("First Run", append = TRUE)?

Or perhaps there is a sub-command in the write.table to accomplish this.

So when I interactively run my code it could be something like:

First run
Coeff1 0.34
Coeff2 0.96

Second run
Coeff1 0.47
Coeff2 0.95

Thank you very much in advance.

Zach Feinstein
zfeinstein@isgmn.com<mailto:zfeinstein@isgmn.com>
(952) 277-0162
(612) 590-4813 (mobile)


	[[alternative HTML version deleted]]

