Re: [R] print one character on several lines

2008-06-20 Thread jim holtman
?strwrap > cat(strwrap("This is a very long character and I want to print it on several > lines. This is a very long character and I want to print it on several > lines.", width=40),sep="\n") This is a very long character and I want to print it on several lines. This is a very long character and

[R] print one character on several lines

2008-06-19 Thread Hua Li
Hi All, I'm wondering how I can print one large/long character on several lines so that the output will not overflow a page. Setting fill be TRUE or even numbers does not help. An example is below: ipuFile <- file("input.txt", "w") cat("This is a very long character and I want to pr