The base graphics can nicely plot a boxplot using a simple command
data(mtcars) boxplot(mtcars$mpg)
you can set the x aesthetics to factor(0) and tweak the appearance by removing unwanted labels:
factor(0)
ggplot(mtcars, aes(x = factor(0), mpg)) + geom_boxplot() + scale_x_discrete(breaks = NULL) + xlab(NULL)