[R] add text to the first line of an output file
YIHSU CHEN
yihsuc at gmail.com
Wed Oct 22 02:32:25 CEST 2014
Hi guys;
I want to write some text at the first line of an output file. The output
file will be used for other software. In particular, the following text
"ampl.tab 2 1" needs to be added to the first line of an df output file.
As a hypothetic example, the output in text file should be like:
ampl.tab 2 1
A B
2 3
4 6
2 0
Thanks for help.
Yihsu
[[alternative HTML version deleted]]
More information about the R-help
mailing list