box(n=1, fill=F)
Graphical parameters may also be supplied as arguments to this function (see par). In particular the bty parameter controls the type of box.
box(5, col=2) # draw a thick color 2 box around plot box(fill=T, col=7) # draw a filled box in color 7