I would like to add leading spaces to `v2` so that all cells of `v2` have a character length of `maxchar`. I'm trying to combine different plots into one display, and this will help me with an alignment problem I'm having.

```
dat <- data.frame(v1=rep("item", 6),
                  v2=c(rep("10", 2),
                       rep("100", 2),
                       rep("1000", 2))
                  )
dat[2] <- as.character(dat[,2])
maxchar <- max(nchar(dat[,2]))

```