Tables

updated on Tue Sep 10 17:06:22 2013

xtable {xtable}

library(xtable)
data(iris)
print(xtable(head(iris, 10)), type = "html", include.rownames = F)
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
5.10 3.50 1.40 0.20 setosa
4.90 3.00 1.40 0.20 setosa
4.70 3.20 1.30 0.20 setosa
4.60 3.10 1.50 0.20 setosa
5.00 3.60 1.40 0.20 setosa
5.40 3.90 1.70 0.40 setosa
4.60 3.40 1.40 0.30 setosa
5.00 3.40 1.50 0.20 setosa
4.40 2.90 1.40 0.20 setosa
4.90 3.10 1.50 0.10 setosa

custom css {xtable}

find the result here

gvisTable {googleVis}

library(googleVis)
table <- gvisTable(head(iris, 10), options = list(width = 500, height = 270))
print(table, "chart")

htmlTable {Gmisc}

## reps = c('http://ftp.sunet.se/pub/lang/CRAN', 'http://cran.gforge.se')
## install.packages('Gmisc', repos=reps, dependencies=TRUE) see the example
## of htmlTable() ?htmlTable()

References

1 2 3 4