dataframe - Display table in a Tcl Tk window with R -
i want display data frame table in new window using tcl tk tool. ´tktable´ must solution don't know how use data frame. can show me how?
is want:
library( gwidgets ) x <- data.frame( = runif( 20 ), b = runif( 20 ) * 100, c = rnorm( 20 ), d = sample( letters, 20 ), e = 1000:1019, f = rep( "table test", 20 ) ) win <- gwindow( "table", visible = false ) table <- gtable( x, cont = win ) visible( win ) <- true
Comments
Post a Comment