powered by
Makes highly visible headings, can separately horizontal, vertical and corner characters
Header(txt, h = "=", v = h, corner = h, align = "center")
returns nothing, simply prints the heading to the console
The text to display in the centre
the ascii character to use on the horizontal sections of the border, and used for v,corner too if not specified separately
the character to use on vertical sections of the border
the character to use on corner sections of the border
alignment of the writing, when there are multiple lines, e.g, "right", "left", "centre"/"center"
Nicholas Cooper njcooper@gmx.co.uk
Header("Section 1") Header("Section 1",h="-",v="|",corner="*") Header(c("SPACE","The final frontier")) Header(c("MY SCRIPT","Part 1"),align="left",h=".")
Run the code above in your browser using DataLab