How to display numbers in scientific notation in ASCII tables?
问题 I am trying to display extremely small numbers (<1E-12) in an ASCII table. (Believe me, I can't find any alternative.) So far I've tried stargazer and xtable. Neither of them seems to work. I can display the numbers in scientific notation with xtable in HTML, but not ASCII. Stargazer seems not have the option to display numbers in scientific notation. Below is an example: library(stargazer) example <- data.frame(parameter = letters, value = runif(26, min = 1E-14, max = 5E-14)) stargazer