Re: [R] Line feed for a long character string

From: Lisa <lisajca_at_gmail.com>
Date: Wed, 11 May 2011 20:20:13 -0700 (PDT)

Hi, Duncan,

On your and William Dunlap’s suggestion, I tried this:

cat(sep="\n", strwrap("my long character string")),  

and it works very well. Thanks so much for your help.

Lisa

--
View this message in context: http://r.789695.n4.nabble.com/Line-feed-for-a-long-character-string-tp3515824p3516426.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 12 May 2011 - 03:43:46 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 12 May 2011 - 05:40:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive