a connection or a character string naming the file to
print to; default is "" which means standard output.
append
logical; shall the output be appended to the file;
default is FALSE.
Value
Returns invisibly the number of bytes printed (using nchar).
Details
fprintf applies the format string fmt to all input
data ... and writes the result to standard output or a file.
The usual C-style string formatting commands are used-