Chris Stubben
2009-Jul-22 18:16 UTC
[R] Long character not truncated by str() after adding comment
If I add a comment to a long character string, I can't get the truncated string to display in the str() output. Anyone know how to get str to compactly display a truncated string and the comment? longch <- paste(rep(letters,100), collapse="") str(longch) # truncated comment(longch)<-"100 ABCs" str(longch) # not truncated Thanks, Chris Stubben -- View this message in context: http://www.nabble.com/Long-character-not-truncated-by-str%28%29-after-adding-comment-tp24611767p24611767.html Sent from the R help mailing list archive at Nabble.com.