<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/rstudio-1-1-preview-new-features-in-rstudio-server-pro/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://blog.rstudio.com/2017/09/07/rstudio-rsp-1.1-features/"> RStudio Blog</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><em>Today, we’re continuing our blog series on new features in RStudio 1.1. If you’d like to try these features out for yourself, you can download a <a rel="nofollow" href="https://www.rstudio.com/products/rstudio/download/preview/" target="_blank">preview release of RStudio Server Pro 1.1</a>.</em></p>
<h1>RStudio Server Pro</h1>
<p>Today we are going to be talking about some of the great new features we have added to RStudio Server Pro v1.1, which make users’ and administrators’ workflows more efficient. Let’s begin!</p>
<h2>Features for Users</h2>
<h3>Homepage Improvements</h3>
<p>One of the key features of RStudio Server Pro is the ability for users to run multiple concurrent R sessions. In order to help you keep track of your active sessions, RStudio Server Pro comes with a <strong>home page</strong> that allows you to see the status of your sessions, such as if they are idle, executing or suspended. In RStudio Server Pro v1.1, we’ve made a few improvements that will help you manage your sessions.</p>
<h4>Managing Multiple Sessions</h4>
<p>The homepage now allows you to select multiple active sessions and kill them, allowing you to cleanup many sessions with one single action. Simply select the desired sessions by clicking their checkboxes, and click on either the Quit or Force Quit buttons. The Quit button will attempt to gracefully kill your sessions by giving them the opportunity to properly shut down. The Force Quit button immediately kills your sessions by sending them SIGKILL and cleans up all child processes as well. Note that in both cases, any unsaved data may be lost.</p>
<p><img alt="Selecting Sessions" src="https://i2.wp.com/blog.rstudio.com/images/2017-09-13-home-page-select.png?w=456&ssl=1" data-recalc-dims="1"></p>
<h4>Accessing the Home Page</h4>
<p>We’ve made accessing the home page easier, allowing you to get there without having to first get into a running session. To do so, simply type in the address of your company’s RStudio in your browser, and add /home, like so:</p>
<p><img alt="Home Page URL" src="https://i2.wp.com/blog.rstudio.com/images/2017-09-13-home-page-url.png?w=456&ssl=1" data-recalc-dims="1"></p>
<h4>Session Labels</h4>
<p>In the past, it could be difficult to keep track of your sessions and know which was which when looking at them on the home page. Now you can label your sessions so that they show up clearly on the home page. To do that, simply click the <strong>Label Current Session</strong> button from the Sessions dropdown in the top right corner from within an active session and give the session a name.</p>
<p><img alt="Labeling the Current Session" src="https://i1.wp.com/blog.rstudio.com/images/2017-09-13-label-current-session.png?w=456&ssl=1" data-recalc-dims="1"></p>
<p>The label will be displayed on the home page making it easy for you to properly drop back in to the correct session.</p>
<p><img alt="Sessions on Home Page with Labels" src="https://i1.wp.com/blog.rstudio.com/images/2017-09-13-home-page-labels.png?w=456&ssl=1" data-recalc-dims="1"></p>
<h2>Features for Admins</h2>
<h3>Floating Licensing</h3>
<p>Floating licensing allows you to run fully licensed copies of RStudio Server Pro easily in ephemeral instances, such as Docker containers, virtual machines, and EC2 instances. Instances don’t have to be individually licensed, and you don’t have to manually activate and deactivate a license in each instance. Instead, a lightweight license server distributes temporary licenses (“leases”) to each instance, and the instance uses the license only while it’s running.</p>
<p>This model is perfect for environments in which RStudio Server Pro instances are frequently created and destroyed on demand, and only requires that you purchase a license for the maximum number of concurrent instances you want to run.</p>
<p>Technical details on the floating licensing system are available in the <a rel="nofollow" href="http://docs.rstudio.com/ide/server-pro/1.1.345/license-management.html#floating-licensing" target="_blank">RStudio Server Pro Administration Guide</a>.</p>
<h3>Session Notifications</h3>
<p>Administrators can now broadcast notifications to users in real-time with our new notification system. The system is very flexible, so we will just cover the basics here. For more in-depth information, see the <a rel="nofollow" href="http://docs.rstudio.com/ide/server-pro/1.1.345/r-sessions.html#notifications" target="_blank">RStudio Server Pro Administration Guide</a>, or take a look at the documentation in the <strong>/etc/rstudio/notifications.conf</strong> file.</p>
<p>To broadcast a notification to all of your users, add lines like the following to your <strong>/etc/rstudio/notifications.conf</strong> file:</p>
<pre><code>StartTime: 2017-11-06
EndTime: 2017–11-11
Message: Remember that on November 10th after business hours we will be performing a database migration. Please make sure all of your work is saved before going home.
</code></pre>
<p>This will create a notification that starts broadcasting to your users on the 6th of November, and stops on midnight of the 11th. Each user will only see the message until they have acknowledged it, usually once in the first session they create during the notification window, or to any sessions that are currently active. The notification will look something like:</p>
<p><img alt="Session Notification" src="https://i1.wp.com/blog.rstudio.com/images/2017-09-13-admin-notification.png?w=456&ssl=1" data-recalc-dims="1"></p>
<h3>Automatically Deleting Unused Sessions</h3>
<p>As an administrator, you have the ability to automatically suspend sessions to disk after a certain period of inactivity by specifying the <strong>session-timeout-minutes</strong> option in <strong>/etc/rstudio/rsession.conf</strong>. RStudio Server Pro v1.1 adds the ability to also kill and delete these sessions entirely after a certain amount of hours, freeing up valuable system resources. Simply add the following line to <strong>/etc/rstudio/rsession.conf</strong>.</p>
<pre><code>session-timeout-kill-hours=96
</code></pre>
<p>This setting will kill and delete any inactive sessions that have not been used for the specified hours. You should set a long timeout period to ensure that only sessions users have forgotten about or no longer need are deleted, as the session’s data is lost forever. Again, for more information, see the RStudio Server Pro Administration Guide.</p>
<p>Thank you for using RStudio Server Pro. We hope these new features improve both user and administrator workflows!</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.com/2017/09/07/rstudio-rsp-1.1-features/"> 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 width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/jCQ2mKpg2i0" height="1"></a></div>