format.default(x, decimal.mark=".", scientific=c(-4, 4), digits=.Options$digits, big.mark="", big.interval=3, small.mark="", small.interval=5, nsmall=NULL, justify="decimal", decimal.mark=".")
If justify is set to "none", then there are no spaces around the numbers. In all other cases, the number of characters in each string is equal. For "left" all of the spaces are at the end of the strings; for "right" all spaces are at the beginning; and the "decimal" option may place spaces both at the beginning and at the end in order to have all of the decimal places line up.
format(hstart,scientific=T, nsmall=3) format(pnorm(2:7), nsmall=15, digits=15, small.mark=" ") format(c(1e6,2.3e6), nsmall=2, scientific=F)# francais format(c(1e6,2.3e6), nsmall=2, scientific=F, decimal=",", big.mark=".")