Remove mainPanel area on Shiny / R Studio

54 views
Skip to first unread message

Maria Sousa Martins

unread,
Feb 5, 2014, 8:55:17 PM2/5/14
to shiny-...@googlegroups.com
Hi again,

Is it possible to remove a mainPanel from Shiny / R Studio? I mean, if I want a big sidePanel (without any mainPanel area), how should I do it? I have tried simply to write:

   mainPanel()
 

but it doens't work (it just empties the area...).

Any suggestions?


Patrick Toche

unread,
Feb 8, 2014, 12:49:13 PM2/8/14
to shiny-...@googlegroups.com
try something like this:

# ui.R

library("shiny")

shinyUI(
  basicPage(
    textOutput("whatever")
  )
)

Maria Sousa Martins

unread,
Feb 8, 2014, 3:02:15 PM2/8/14
to Patrick Toche, shiny-...@googlegroups.com
Thank you. I used a wellPanel, instead :)


--
You received this message because you are subscribed to a topic in the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shiny-discuss/HV8X9htM65U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Reply all
Reply to author
Forward
0 new messages