Hi!
I was thinking about using the head and tail functions also for files i.e.
show me the first/last few lines of a file. For example:
zz - file(ex.data, w) # open an output file connection
cat(TITLE extra line, 2 3 5 7, , 11 13 17, file = zz, sep = \n)
cat(One more line\n, file = zz)
On 25/07/2008 7:30 AM, Gorjanc Gregor wrote:
Hi!
I was thinking about using the head and tail functions also for files i.e.
show me the first/last few lines of a file. For example:
zz - file(ex.data, w) # open an output file connection
cat(TITLE extra line, 2 3 5 7, , 11 13 17, file = zz, sep
I was thinking about using the head and tail functions also for files i.e.
show me the first/last few lines of a file. For example:
zz - file(ex.data, w) # open an output file connection
cat(TITLE extra line, 2 3 5 7, , 11 13 17, file = zz, sep = \n)
cat(One more line\n, file = zz)