Skip to content
Back to formatted view

Raw Message

Message-ID: <Law11-F40oYAPNXRPmc000132f2@hotmail.com>
Date: 2003-04-29T16:42:06Z
From: R A F
Subject: Remove leading brackets in print?

Hi, I can't seem to get an answer for this by searching through the
R-help archives:  How does one remove leading brackets in print?

For example,
>print( 3 )
>[1] 3

Would it be possible to get rid of the "[1]"?

Of course the effect is the same without "print", as in,
>3
>[1] 3
but I would only be interested in omitting brackets in printing, if
that's possible.

Thanks very much!