Re: [R] formatting print statements with multiple lines

2008-12-18 Thread Stephan Kolassa
Use cat() with "\n" for newlines and "\t" for tabs, cat("Input criteria does not meet specifications. Check input against the following requirements:\n\ta >= 0\n\t") HTH, Stephan Brigid Mooney schrieb: When executing the command: print(cat(paste("Input criteria does not meet specifica

Re: [R] formatting print statements with multiple lines

2008-12-18 Thread John Fox
oject.org] On > Behalf Of Brigid Mooney > Sent: December-18-08 4:22 PM > To: r-help@r-project.org > Subject: [R] formatting print statements with multiple lines > > When executing the command: > > print(cat(paste("Input criteria does not meet specificati

[R] formatting print statements with multiple lines

2008-12-18 Thread Brigid Mooney
When executing the command: print(cat(paste("Input criteria does not meet specifications. Check input against the following requirements: a >= 0 b <= 0 c >= 0 ", sep=""), "")) I get: Input criteria does not meet specifications. Check input against the fol