You can nicely format lines of output in R and S using the 'cat' function instead of 'print'. For example: >cat(val1,"\t",val2,"\n",val3,"\n") will print the three values separated by tabs and newlines as specified.