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
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
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
3 matches
Mail list logo