Skip to content
Prev 31354 / 398506 Next

Remove leading brackets in print?

Use cat() instead of print().

You will also generally need to append a newline character ("\n") to
the output, as I do below.

Thus, you would use:
3 

See ?cat for more information.

HTH,

Marc Schwartz