See ?options
, particularly scipen
:
R> paste("abc", 100000)
[1] "abc 1e+05"
R> options("scipen"=10) # set high penalty for scientific display
R> paste("abc", 100000)
[1] "abc 100000"
R>
Alternatively, control formatting tightly the old-school way via sprintf()
:
R> sprintf("%s %6d", "abc", 100000)
[1] "abc 100000"
R>