Re: [R] Options for print()

2011-05-05 Thread Andreas Borg
Also take a look at sprintf, which offers everything the C-equivalent has. sprintf returns a string which can be sent to the console via cat. Andreas baptiste auguie schrieb: Hi, Try this, cat(format("The TITLE", width=80, justify="centre")) HTH, baptiste On 5 May 2011 19:28, Dan Abner w

Re: [R] Options for print()

2011-05-05 Thread baptiste auguie
Hi, Try this, cat(format("The TITLE", width=80, justify="centre")) HTH, baptiste On 5 May 2011 19:28, Dan Abner wrote: > Hello everyone, > > I have a few questions about the print() fn: > > 1) I have the following code that does not center the character string: > > print("The TITLE",quote=FAL

[R] Options for print()

2011-05-05 Thread Dan Abner
Hello everyone, I have a few questions about the print() fn: 1) I have the following code that does not center the character string: print("The TITLE",quote=FALSE,justify="center") 2) How can I get R to not print the leading [1], etc. when using print()? (Sorry, I don't know what the leading