[R] Line feed for a long character string
Lisa
lisajca at gmail.com
Wed May 11 22:46:23 CEST 2011
Dear all,
Does anyone know how to make a line feed automatically based on the width of
console window? For example, when you cat() a long character string just
like this:
cat("Seminar series is an opportunity for students to learn about ongoing
researches in the field of mathematics, computer science, physics,
chemistry, and some other related programs. Students must complete a seminar
attendance form and return to their mentors.\n")
In my computer, about half of the string is displayed with a symbol “$”at
the end that looks like this:
> cat("Seminar series is an opportunity for students to learn about ongoing
> researches in the field of mathematics, computer science, physics,
> chemistry, a$
Any help will be appreciated!
Lisa
--
View this message in context: http://r.789695.n4.nabble.com/Line-feed-for-a-long-character-string-tp3515824p3515824.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list