Use the frame=F (or frame.plot=F ) function in the boxplot function:
boxplot(count ~ spray, data = InsectSprays, col = "lightgray",frame=F)
Other parameters that can be used in the boxplot function (rather inconvenient) are listed on the ?bxp man page, which is the main function of boxplot()
Joris meys
source share