You are currently browsing the tag archive for the ‘shiny’ tag.

Shiny v0.10.1 has been released to CRAN. You can either install it from a CRAN mirror, or update it if you have installed a previous version.

install.packages('shiny', repos = '')
# or update your installed packages
# update.packages(ask = FALSE, repos = '')

The most prominent change in this patch release is that we added full Unicode support on Windows. Shiny apps running on Windows must use the UTF-8 encoding for ui.R and server.R (also the optional global.R,, and DESCRIPTION) if they contain non-ASCII characters. See this article for details and examples:

Chinese characters in a shiny app

Chinese characters in a shiny app

Please note although we require UTF-8 for the app components, UTF-8 is not a general requirement for any other files. If you read/write text files in an app, you are free to use any encoding you want, e.g. you can readLines('foo.txt', encoding = 'Windows-1252'). The article above has explained it in detail.

Other changes include:

  • runGitHub() also allows the 'username/repo' syntax now, which is equivalent to runGitHub('repo', 'username'). (#427)
  • navbarPage() now accepts a windowTitle parameter to set the web browser page title to something other than the title displayed in the navbar.
  • Added an inline argument to textOutput(), imageOutput(), plotOutput(), and htmlOutput(). When inline = TRUE, these outputs will be put in span() instead of the default div(). This occurs automatically when these outputs are created via the inline expressions (e.g. `r renderText(expr)`) in R Markdown documents. See an R Markdown example at (#512)
  • Added support for option groups in the select/selectize inputs. When the choices argument for selectInput()/selectizeInput() is a list of sub-lists and any sub-list is of length greater than 1, the HTML tag <optgroup> will be used. See an example at here (#542)

Please let us know if you have any comments or questions.

Shiny apps use an HTML interface, which means that you can change the visual appearance of your apps quickly and simply with CSS files. Would you like to know how? I posted a new article that will step you through the options at the Shiny Dev Center. Check it out here.


We are happy to announce the availability of v1.1 of RStudio Shiny Server Pro, our commercial server for deploying Shiny applications.  In this release we took your feedback and made it easier for you to integrate Shiny Server Pro into your production environments.  With Shiny Server Pro v1.1 you now can:

  • Control access to your applications with Google Authentication (OAuth2).
  • Create sessions and authenticate with PAM (auth_pam and pam_sessions_profile).
  • Set the version of R that is used per application and/or per user
  • Customize page templates for directory listings and error pages.
  • Monitor service health and get additional metrics with a new health check endpoint.
  • Provide custom environment variables to a Shiny process using Bash profiles
  • Configure apps to run using the authenticated user’s account with custom environment variables from Bash or PAM
  • Launch Shiny apps with a prefix command such as ‘nice’ allowing you to prioritize compute resources per application or  per user

If you haven’t tried Shiny Server Pro yet, download a copy here.



Get every new post delivered to your Inbox.

Join 666 other followers