<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/shinydashboard-0-6-0/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://blog.rstudio.org/2017/05/18/shinydashboard-0-6-0/"> RStudio Blog</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Shinydashboard 0.6.0 is now on CRAN! This release of shinydashboard was aimed at both fixing bugs and also bringing the package up to speed with users’ requests and Shiny itself (especially fully bringing <a rel="nofollow" href="https://shiny.rstudio.com/articles/bookmarking-state.html" target="_blank">bookmarkable state</a> to shinydashboard’s sidebar). In addition to bug fixes and new features, we also added a <a rel="nofollow" href="https://rstudio.github.io/shinydashboard/behavior.html" target="_blank">new “Behavior” section</a> to the <a rel="nofollow" href="https://rstudio.github.io/shinydashboard/" target="_blank">shinydashboard website</a> to explain this release’s two biggest new features, and also to provide users with more material about shinydashboard-specific behavior.</p>
<h2>Sidebar</h2>
<p>This release introduces two new sidebar inputs. One of these inputs reports whether the sidebar is collapsed or expanded, and the other input reports which (if any) menu item in the side bar is expanded. In the screenshot below, the Charts tab is expanded.</p>
<p><a rel="nofollow" href="https://rstudioblog.files.wordpress.com/2017/05/sidebar-expanded.png" target="_blank"><img data-orig-file="https://rstudioblog.files.wordpress.com/2017/05/sidebar-expanded.png?w=456" data-orig-size="180,212" data-medium-file="https://rstudioblog.files.wordpress.com/2017/05/sidebar-expanded.png?w=456?w=180" data-attachment-id="4555" data-image-meta="{" data-image-description="" src="https://rstudioblog.files.wordpress.com/2017/05/sidebar-expanded.png?w=456" data-permalink="https://blog.rstudio.org/2017/05/18/shinydashboard-0-6-0/sidebar-expanded/" data-large-file="https://rstudioblog.files.wordpress.com/2017/05/sidebar-expanded.png?w=456?w=180" alt="" data-image-title="sidebar-expanded" sizes="(max-width: 180px) 100vw, 180px" data-comments-opened="1" class="wp-image-4555" data-recalc-dims="1"></a></p>
<p>These inputs are unusual since they’re automatically available without you needing to declare them, and they have a fixed name. The first input is accessible via <code>input$sidebarCollapsed</code> and can have only two values: <code>TRUE</code>, which indicates that the sidebar is collapsed, and <code>FALSE</code>, which indicates that it is expanded (default).</p>
<p>The second input is accessible via <code>input$sidebarItemExpanded</code>. If no <code>menuItem()</code> in the sidebar is currently expanded, the value of this input is <code>NULL</code>. Otherwise, <code>input$sidebarItemExpanded</code> holds the value of the <code>expandedName</code> of whichever <code>menuItem()</code> is currently expanded (<code>expandedName</code> is a new argument to <code>menuItem()</code>; if none is provided, shinydashboard creates a sensible default).</p>
<h2>Full changes</h2>
<p>As usual, you can view the full changelog for shinydashboard in the <a rel="nofollow" href="https://github.com/rstudio/shinydashboard/blob/v0.6.0/NEWS.md" target="_blank">NEWS</a> file.</p>
<p> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rstudioblog.wordpress.com/4522/" target="_blank"><img border="0" alt="" src="http://feeds.wordpress.com/1.0/comments/rstudioblog.wordpress.com/4522/"></a> <img border="0" alt="" src="https://i1.wp.com/pixel.wp.com/b.gif?resize=1%2C1&ssl=1" data-recalc-dims="1"></p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://blog.rstudio.org/2017/05/18/shinydashboard-0-6-0/"> RStudio Blog</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/L_WkKuGg4fU" height="1"></a></div>