Suppressing rownumbers in a tableOutput

1,635 views
Skip to first unread message

Andrew Clark

unread,
Nov 23, 2012, 9:21:11 PM11/23/12
to shiny-...@googlegroups.com
Is this possible?
tried row.names=FALSE but it looks like it does not take arguments

Joe Cheng [RStudio]

unread,
Nov 26, 2012, 3:03:39 AM11/26/12
to shiny-...@googlegroups.com
include.rownames=FALSE should do it, I think. Requires Shiny 0.1.11 or later.


On Fri, Nov 23, 2012 at 6:21 PM, Andrew Clark <scott.r...@gmail.com> wrote:
Is this possible?
tried row.names=FALSE but it looks like it does not take arguments

--
 
 

Andrew Clark

unread,
Nov 26, 2012, 8:26:46 AM11/26/12
to shiny-...@googlegroups.com, j...@rstudio.org
Duly updated,
 I'll need to read xtable documentation. Does it allow for alternating columns and column sorting?

Joe Cheng [RStudio]

unread,
Nov 28, 2012, 2:08:16 AM11/28/12
to shiny-...@googlegroups.com
Not column sorting, at least not interactively (you can achieve that with Shiny of course but not by clicking on column headers, unless you want to write some JavaScript). I expect sooner or later someone will wrap the googleVis package to work with Shiny, it has an interactive data table that you might find interesting.


--
 
 

Andrew Clark

unread,
Nov 28, 2012, 12:21:13 PM11/28/12
to shiny-...@googlegroups.com, j...@rstudio.org
Yes I just read a blog post mentioning shiny and ggoglevis specifically to do with sorting tables
I did develop a motion chart a few weeks ago. This reminds me to write it up

Bodong Chen

unread,
Apr 24, 2013, 11:47:28 AM4/24/13
to shiny-...@googlegroups.com, j...@rstudio.org
I am facing the same challenge. Can you be a bit more specific about where this argument should I put? Thanks a lot!

Andrew Clark

unread,
Apr 24, 2013, 12:20:22 PM4/24/13
to shiny-...@googlegroups.com, j...@rstudio.org
 output$myTable <- renderTable( {
   df
    
  },include.rownames=FALSE)

Bodong Chen

unread,
Apr 24, 2013, 9:15:32 PM4/24/13
to shiny-...@googlegroups.com, j...@rstudio.org
Awesome! Many thanks.
Reply all
Reply to author
Forward
0 new messages