tags:

views:

115

answers:

2

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
kind of but i need to see an example of the argument digit or one of those format() args
Dan
+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
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