Shiny 0.10.1
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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 = 'http://cran.rstudio.com') # or update your installed packages # update.packages(ask = FALSE, repos = 'http://cran.rstudio.com')
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, README.md, and DESCRIPTION) if they contain non-ASCII characters. See this article for details and examples: http://shiny.rstudio.com/articles/unicode.html
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 torunGitHub('repo', 'username')
. (#427)navbarPage()
now accepts awindowTitle
parameter to set the web browser page title to something other than the title displayed in the navbar.- Added an
inline
argument totextOutput()
,imageOutput()
,plotOutput()
, andhtmlOutput()
. Wheninline = TRUE
, these outputs will be put inspan()
instead of the defaultdiv()
. 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 http://shiny.rstudio.com/gallery/inline-output.html (#512) - Added support for option groups in the select/selectize inputs. When the
choices
argument forselectInput()
/selectizeInput()
is a list of sub-lists and any sub-list is of length greater than 1, the HTML tagwill be used. See an example at here (#542)
Please let us know if you have any comments or questions.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.