I want to output a dataframe using R2HTML, and remove scientific notation. Ideas?
A:
This link helps you? Write a data.frame (or matrix) to a HTML output
Rubens Farias
2009-10-16 21:07:06
kind of but i need to see an example of the argument digit or one of those format() args
Dan
2009-10-16 21:21:03
+3
A:
You can try using the format command:
format(c(1,10,100)^3, scientific=FALSE)
Incidentally, I would recommend using xtable
for the table itself. See this related question.
Shane
2009-10-16 21:34:00
i took your advice and am using xtable, although i wish it used thead and tbody (javascript purposes). Also thanks on the format though it turns out I had to ditch this fomrat in order to use formatC and put in commas.
Dan
2009-10-17 18:50:39