Re: [Rd] cat(fill=N)

2018-03-16 Thread Berry, Charles
> On Mar 16, 2018, at 9:19 AM, Serguei Sokol wrote: > > Le 16/03/2018 à 17:10, David Hugh-Jones a écrit : >> Hi all, >> >> I expect I'm getting something wrong, but >> >> cat("foo bar baz foo bar baz foo bar baz", fill = 10) >> >> should be broken into lines of width 10, whereas I get: >> >

Re: [Rd] cat(fill=N)

2018-03-16 Thread David Hugh-Jones
Agreed. Perhaps this is a documentation issue: fill: a logical or (positive) numeric controlling how the output is broken into successive lines. If ‘FALSE’ (default), only newlines created explicitly by ‘"\n"’ are printed. Otherwise, the output is broken into lin

Re: [Rd] cat(fill=N)

2018-03-16 Thread Serguei Sokol
Le 16/03/2018 à 17:10, David Hugh-Jones a écrit : Hi all, I expect I'm getting something wrong, but cat("foo bar baz foo bar baz foo bar baz", fill = 10) should be broken into lines of width 10, whereas I get: cat("foo bar baz foo bar baz foo bar baz", fill = 10) foo bar baz foo bar baz foo

[Rd] cat(fill=N)

2018-03-16 Thread David Hugh-Jones
Hi all, I expect I'm getting something wrong, but cat("foo bar baz foo bar baz foo bar baz", fill = 10) should be broken into lines of width 10, whereas I get: > cat("foo bar baz foo bar baz foo bar baz", fill = 10) foo bar baz foo bar baz foo bar baz This is on R 3.4.3, but I don't see menti