<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-connect-v1-5-10/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://blog.rstudio.com/2017/12/01/rstudio-connect-v1-5-10/"> RStudio Blog</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>We’re pleased to announce version 1.5.10 of RStudio Connect and the general availability of RStudio Connect Execution Servers. Execution Servers enable horizontal scaling and high availability for all the content you develop in R. The 1.5.10 release also includes important security improvements and bug fixes.</p>
<p><strong>RStudio Connect Execution Servers</strong></p>
<p><img alt="HA Architecture" src="https://i0.wp.com/blog.rstudio.com/images/rsc-ha.jpg?w=456&ssl=1" data-recalc-dims="1"></p>
<p>Support for high availability and horizontal scaling is now generally available through RStudio Connect Execution Servers. Execution Servers enable RStudio Connect to run across a multi-node cluster.</p>
<p>Today, Execution Servers act as identically configured Connect instances. Requests for Shiny applications and Plumber APIs are split across nodes by a load balancer. Scheduled R Markdown execution is distributed across the cluster through an internal job scheduler that distributes work evenly across nodes. Over time, more of Connect’s work will be handled by the internal scheduler, giving admins control over what nodes accomplish certain tasks.</p>
<p>The <a rel="nofollow" href="https://docs.rstudio.com/connect/admin" target="_blank">admin guide</a> includes configuration instructions. Contact <a rel="nofollow" href="mailto:%20sales@rstudio.com" target="_blank">sales</a> for licensing information.</p>
<p><strong>Other Improvements</strong></p>
<ul>
<li>
<p>For configurations using SQLite, the <strong>SQLite database is automatically backed up</strong> while Connect is running. By default, three backups are retained and a new backup is taken every 24 hours. To disable, setup <code>[Sqlite].Backup</code> to false in the server configuration file.</p>
</li>
<li>
<p>RStudio Connect has always isolated user code from the file system. For example, application A can not access data uploaded with application B. In 1.5.10, <strong>R processes can now read from the <code>/tmp</code> and <code>/var/tmp</code> directories</strong>. This change enables shared files to be stored in <code>/tmp</code> and <code>/var/tmp</code> and helps facilitate Kerberos configurations. R processes still have isolated temporary directories provided at runtime and accessible with the <code>tempdir</code> function and <code>TMPDIR</code> environment variable. See <a rel="nofollow" href="http://docs.rstudio.com/connect/admin" target="_blank">section 12</a> of the admin guide for more details on process sandboxing.</p>
</li>
<li>
<p>Improvements have been made in RStudio Connect and the <code>rsconnect</code> package to <strong>support deployments using proxied authentication</strong>. See the admin guide for details on setting up the proxy. Anonymous viewers and requests authenticated with API keys are also now supported with proxied auth.</p>
</li>
<li>
<p>Scheduled reports are now re-run if execution is interrupted by a server restart. In a cluster, reports are automatically re-run if a node goes down, assuring high availability for scheduled renderings.</p>
</li>
<li>
<p><code>AdminEditableUsernames</code> is disabled by default for compatibility with the <code>RequireExternalUsernames</code> flag introduced in 1.5.8. These changes increase security by preventing changes to data supplied by authentication providers.</p>
</li>
<li>
<p>User session expiration is better enforced. All user browser sessions will need to login after the 1.5.10 upgrade.</p>
</li>
<li>
<p>Runtime environments for <a rel="nofollow" href="http://rmarkdown.rstudio.com/authoring_shiny.html" target="_blank">Shiny R Markdown Documents</a> have changed to support <code>rmarkdown</code> versions 1.7+.</p>
</li>
</ul>
<p>You can see the full release notes for RStudio Connect 1.5.10 <a rel="nofollow" href="http://docs.rstudio.com/connect/news" target="_blank">here</a>.</p>
<blockquote>
<p><strong>Upgrade Planning</strong> There are no special precautions to be aware of when upgrading from 1.5.8 to 1.5.10. Installation and startup should take less than a minute.</p>
</blockquote>
<p>If you haven’t yet had a chance to download and try <a rel="nofollow" href="https://www.rstudio.com/products/connect/" target="_blank">RStudio Connect</a> we encourage you to do so. RStudio Connect is the best way to share all the work that you do in R (Shiny apps, R Markdown documents, plots, dashboards, Plumber APIs, etc.) with collaborators, colleagues, or customers.</p>
<p>You can find more details or download a 45 day evaluation of the product at <a rel="nofollow" href="https://www.rstudio.com/products/connect/" target="_blank">https://www.rstudio.com/products/connect/</a>. Additional resources can be found below.</p>
<ul>
<li><a rel="nofollow" href="http://docs.rstudio.com/connect/admin" target="_blank">RStudio Connect Admin Guide</a></li>
<li><a rel="nofollow" href="http://docs.rstudio.com/connect/news" target="_blank">Detailed Release Notes</a></li>
<li><a rel="nofollow" href="https://rstudio.com/pricing" target="_blank">Pricing</a></li>
<li><a rel="nofollow" href="https://beta.rstudioconnect.com/" target="_blank">Online preview of RStudio Connect</a></li>
</ul>
	<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/12/01/rstudio-connect-v1-5-10/"> 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/QIF8PJaco6Q" height="1"></a></div>