Displaying 1 result from an estimated 1 matches for "nameofdatafil".
Did you mean:
nameofdatafile
2008 Oct 22
1
Inserting blank lines into a file
Hi,
Should be a quickie:
I want to make a datafile in R for plotting in gnuplot (which has
friendlier 3D plotting options, as far as I can tell). So, I want to
create a file with contents along the lines of
#File begins
0 0 10
0 13 10
0.2 2 10
1 0 10.12
1 1 5
1 2 10
2 0 10
2 1 1
2 2 10
It's probably fairly easy to write the space-separated numbers with
write.table, sink, or similar. But