Skip to content
Prev 333240 / 398506 Next

export vector with write() introduces line breaks

1. Read ?write carefully. Note what it says about write() writing to
columns and the link to cat().

2. Use cat() with appropriate arguments to write your file instead.

e.g.

cat(1:600, file=yourfile,fill=FALSE)

Cheers,
Bert

On Sat, Nov 16, 2013 at 11:20 AM, Martin Batholdy
<batholdy at googlemail.com> wrote: