You are currently browsing the monthly archive for December 2013.
We’re pleased to announce a new version of roxygen2. The biggest news is that you can painlessly document your S4 classes, S4 methods and RC classes with roxygen2 – you can safely remove workarounds that used
@usage, and simply rely on roxygen2 to do the right thing. Roxygen2 is also much smarter when it comes to S3: you can remove existing uses of
@method, and can replace
Version 3.0 also includes many other improvements including better generation of usage, the ability to turn off wrapping in your Rd files and choose default roclets for a package, a safer
roxyngenize() if you prefer) and many other bug fixes and improvement. See the full list on the github release.
As always, you can install the latest version with
Today, we’re excited to announce the release of Shiny Server version 0.4 as well as the availability of a beta version of Shiny Server Professional Edition.
Shiny Server is a platform for hosting Shiny Applications over the Web and has undergone substantial work in the past few months. We have fixed many bugs, added stability enhancements, and have created pre-built installers for Ubuntu 12.04 (and later) and RedHat/CentOS 5 and 6. The new installers will drastically simplify the process of installing and configuring Shiny Server on these distributions. For other platforms you can use the updated instructions to build from source.
Important note for current Shiny Server users: We are no longer relying on npm to distribute the software. If you had previously installed version 0.3.x using npm, you must uninstall the old version before upgrading. Follow these instructions to uninstall the old version before upgrading to the new.
We hope this new version will allow you to deploy your Shiny applications even more efficiently. Please reach out on the mailing list to let us know what you think or if you have any problems.
Shiny Server Pro beta
We’ve recently begun beta testing of Shiny Server Professional Edition. This product adds features that make it easier for an enterprise to scale, tune, monitor and receive support for production environments. Shiny Server Pro will include the ability to configure a Shiny application with more than one process, and control the number of concurrent users per application. It adds an administrative dashboard to monitor and gain insight into your applications, and includes integrations with a variety of authentication systems including LDAP and Active Directory.
If you’re interested in finding out more about Shiny Server Pro, or being a participant in our beta please register here.
Thank you for your help in making Shiny Server a better product. We hope you enjoy Shiny Server 0.4 and look forward to getting your feedback.
We’re pleased to announce that the final version of RStudio v0.98 is available for download now. Highlights of the new release include:
- An interactive debugger for R that is tightly integrated with base R debugging tools (browser, recover, etc.)
- Numerous improvements to the Workspace pane (which is now called the Environment pane).
- R Presentations for easy authoring of HTML5 presentations that include R code, output, and graphics.
- A new Viewer pane for displaying local web content (e.g. graphical output from packages like googleVis).
- Additional support for developing and running Shiny web applications.
- Substantially improved UI performance on Mac OS X.
- A Professional Edition of RStudio Server with many new capabilities for enterprise deployment.
There are also lots of smaller improvements and bug fixes across the product, check out the release notes for full details.
The feature we’re most excited about is the addition of a full interactive debugger to the IDE. Noteworthy capabilities of the debugger include:
- Setting breakpoints within the source editor, both inside and outside functions
- Stepping through code line by line
- Inspecting object values and the call stack during debugging
- An error inspector for quick access to tracebacks and the debugger after runtime errors
- Tight integration with traditional R debugging tools, such as
Here’s a screenshot of the IDE after hitting an editor breakpoint:
For more details on how to take advantage of the new debugging tools, see Debugging with RStudio.
The Workspace pane is now called the Environment pane and has numerous improvements, including:
- Browse any environment on the search path
- Filtering by name/value
- Expand lists, data frames, and S4 objects inline
str()to display object values
- Optional grid view sortable by various attributes
- Many other small correctness and robustness enhancements
R Presentations enable easy authoring of HTML5 presentations. R Presentations are based on R Markdown, and include the following features:
- Easy authoring of HTML5 presentations based on R Markdown
- Extensive support for authoring and previewing inside the IDE
- Many options for customizing layout and appearance
- Publishing as either a standalone HTML file or to RPubs
Here’s a screenshot showing a simple presentation being authored and previewed within the IDE:
For more details see the documentation on Authoring R Presentations.
We’re hopeful that there will be many more compelling uses of the Viewer. For more details see the article Extending RStudio with the Viewer Pane.
We’ve added a number of features to support development of Shiny web applications, including:
- The ability to develop and run Shiny applications on RStudio Server (localhost and websocket proxying is handled automatically)
- Running Shiny applications within an IDE pane (see the discussion of the Viewer pane below for details)
- Create a new Shiny application from within the New Project dialog
- Debugging of Shiny applications using the new RStudio debugging tools.
Mac UI Framework
In RStudio v0.98 we also migrated our Mac WebKit engine from a cross-platform framework (Qt) to Cocoa. The original motivation for this was compatibility problems between Qt and OS X Mavericks, but as it turned out the move to Cocoa WebKit yielded substantially faster editor, scrolling, layout, and graphics performance across the board. If you are a Mac user you’ll find everything about the product snappier in v0.98.
In the next major version of RStudio we’re hoping to make comparable improvements in performance on both Linux and Windows by using a more modern WebKit on those platforms as well.
RStudio Server Professional Edition
Over the years we’ve gotten lots of feedback from larger organizations deploying RStudio Server on the features they’d like to see for production deployments of the server. With RStudio v0.98 we’re introducing a new Professional Edition of RStudio Server that incorporates much of this feedback. Highlights include:
- An administrative dashboard that provides insight into active sessions, server health, and monitoring of system-wide and per-user performance and resource metrics.
- Authentication using system accounts, ActiveDirectory, LDAP, or Google Accounts.
- Full support for PAM (including PAM sessions for dynamically provisioning user resources).
- Ability to establish per-user or per-group CPU priorities and memory limits.
- HTTP enhancements including support for SSL and keep-alive for improved performance.
- Ability to restrict access to the server by IP.
- Customizable server health checks.
- Suspend, terminate, or assume control of user sessions.
- Impersonate users for assistance and troubleshooting.
New Support Site
With this release we’re also introducing a brand new support and documentation website, please visit us there with questions, feedback, as well as what other improvements you’d like to see in the product.
We’re pleased to announce two upcoming in-person training opportunities:
- Advanced R programming. SF, Dec 16-17.Learn the most important topics from advanced R programming in person. One day one, you’ll learn about metaprograming, functional programming and object oriented programming in R, as well general best practices for programming. Taught by Hadley Wickham, RStudio’s Chief Scientist.
- Public workshop. Boston, Jan 27-28.In this two-day workshop, you’ll get a comprehensive introduction to R, and you’ll be visualising, manipulating and modeling data in no time. Taught by Garrett Grolemund, RStudio Master Instructor
We have discounts available for students (66%) and academics (33%). Please contact Josh Paulson for details.