<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>RStudio | Maikel P.H. Verouden, Ph.D.</title>
    <link>https://www.verouden.net/tag/rstudio/</link>
      <atom:link href="https://www.verouden.net/tag/rstudio/index.xml" rel="self" type="application/rss+xml" />
    <description>RStudio</description>
    <generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><copyright>© 2018--2026 Maikel P.H. Verouden</copyright><lastBuildDate>Thu, 17 Jun 2021 00:00:00 +0000</lastBuildDate>
    <image>
      <url>https://www.verouden.net/media/icon_huad10df73939ac9e293fe617f41f10a9f_9032_512x512_fill_lanczos_center_3.png</url>
      <title>RStudio</title>
      <link>https://www.verouden.net/tag/rstudio/</link>
    </image>
    
    <item>
      <title>Custom RStudio installation on a WURclient computer</title>
      <link>https://www.verouden.net/post/2021/06/17/rstudio-installation-wurclient/</link>
      <pubDate>Thu, 17 Jun 2021 00:00:00 +0000</pubDate>
      <guid>https://www.verouden.net/post/2021/06/17/rstudio-installation-wurclient/</guid>
      <description>&lt;details class=&#34;toc-inpage d-print-none  &#34; open&gt;
  &lt;summary class=&#34;font-weight-bold&#34;&gt;Table of Contents&lt;/summary&gt;
  &lt;nav id=&#34;TableOfContents&#34;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&#34;#motivation&#34;&gt;Motivation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#prerequisites&#34;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#uninstall-a-previously-installed-rstudio-version&#34;&gt;Uninstall a previously installed RStudio version&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#installed-from-software-center&#34;&gt;Installed from Software Center&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#installed-previously-as-a-custom-installation&#34;&gt;Installed previously as a custom installation&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#custom-rstudio-installation&#34;&gt;Custom RStudio installation&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#download&#34;&gt;Download&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#installation&#34;&gt;Installation&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#setting-the-default-rstudio-working-directory&#34;&gt;Setting the default RStudio working directory&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#resetting-rstudio-desktops-state&#34;&gt;Resetting RStudio desktop&amp;rsquo;s state&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#accessing-the-rstudio-desktop-directory-internal-state&#34;&gt;Accessing the RStudio-Desktop Directory (Internal State)&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#resetting-other-preferences&#34;&gt;Resetting other preferences&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
&lt;/details&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;p&gt;A WURclient desktop or laptop at Wageningen University &amp;amp; Research is not a standard Windows 11 computer. WURclients use Windows 11 Enterprise, which has been modified by Facilities and Services Information Technology (FB-IT) among others with respect to installation rights for security reasons.&lt;/p&gt;
&lt;p&gt;Classic WURclient desktops and laptops at Wageningen University &amp;amp; Research can install RStudio from the Software Center created by the IT department, which is launched by clicking on Start and selecting the &amp;ldquo;Software Center&amp;rdquo; tile. Modern WURclient desktops and laptops use the &amp;ldquo;WURAppStore&amp;rdquo; instead. The available version of RStudio in Software Center/WURAppStore is &lt;code&gt;RStudio 2025.05.1.513&lt;/code&gt;, referring to release &lt;code&gt;RStudio version 2025.05.1 Build 513&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This version of RStudio was placed in &amp;lsquo;Software Center&amp;rsquo; for educational purposes. Only once per year a new version of R (including R Commander and additional packages for several courses) and RStudio is released in Software Center.&lt;/p&gt;
&lt;p&gt;Many users, however, prefer to use the latest version of RStudio, because of new features offered in the newer version of the software. At the moment of writing this post the latest version of RStudio was v1.4.1717 named: &amp;lsquo;Juliet Rose&amp;rsquo; (released on 2021-06-01). The post has been updated, with the exception of the screenshots, to &lt;code&gt;RStudio 2026.04.0 Build 526&lt;/code&gt; named: &amp;ldquo;Globemaster Allium&amp;rdquo;.&lt;/p&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    This post will show how to custom install RStudio on a &lt;strong&gt;WURclient&lt;/strong&gt; desktop or laptop computer without using Software Center.
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;alert alert-warning&#34;&gt;
  &lt;div&gt;
    The installation instructions in this post are &lt;u&gt;&lt;strong&gt;not to be used on privately owned desktops or laptops&lt;/strong&gt;&lt;/u&gt;! For a privately owned desktop or laptop see the post: &lt;a href=&#34;https://www.verouden.net/post/2020/04/13/rstudio-installation-on-windows-10/&#34;&gt;RStudio installation on Windows 10/11&lt;/a&gt;.
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked=&#34;&#34; disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; To be able to perform a custom installation of RStudio you need to have &lt;u&gt;&lt;strong&gt;POWER USER RIGHTS&lt;/strong&gt;&lt;/u&gt; on the WURclient desktop or laptop.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To see whether you possess these rights, right-click any icon (except Recycle Bin or WUR HELP) on the desktop. When the opened menu contains the option &amp;lsquo;WUR - Run with administrative rights&amp;rsquo; (sixth or seventh from the top), it means you have power user rights on that particular desktop or laptop.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked=&#34;&#34; disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;a href=&#34;https://www.verouden.net/post/2021/01/24/r-installation-wurclient/&#34;&gt;R installed on a WURclient using a custom installation &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To be able to install RStudio you will need to have R installed first. If you haven&amp;rsquo;t done so already, please first perform a custom installation of R on your WURclient computer (use the link above to go to that specific post).&lt;/p&gt;
&lt;h2 id=&#34;uninstall-a-previously-installed-rstudio-version&#34;&gt;Uninstall a previously installed RStudio version&lt;/h2&gt;
&lt;p&gt;Before performing a new custom installation of RStudio it is recommended to uninstall a previously installed version.&lt;/p&gt;
&lt;p&gt;Here two procedures are described, follow the one that fits your needs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#installed-from-software-center&#34;&gt;Installed from Software Center&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#installed-previously-as-a-custom-installation&#34;&gt;Installed previously as a custom installation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In case you have no version of RStudio installed on your WURclient desktop or laptop you can proceed to the section &lt;a href=&#34;#custom-rstudio-installation&#34;&gt;Custom RStudio installation&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;installed-from-software-center&#34;&gt;Installed from Software Center&lt;/h3&gt;
&lt;p&gt;If you previously installed RStudio from Software Center, then to remove R reopen the Software Center by clicking on Start and next click on the Software Center tile. If for some reason you lack this tile in your start menu, just type &amp;lsquo;Software Center&amp;rsquo; and it will appear in a search results window in your Windows task bar.&lt;/p&gt;
&lt;p&gt;In the left column of Software Center navigate to &amp;lsquo;Installation Status&amp;rsquo;. Select the installed RStudio version and click on the green button bearing the text &amp;lsquo;Uninstall&amp;rsquo;. This will start the removal of the software. You will be informed by the Software Center, when the software has been uninstalled.&lt;/p&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    &lt;p&gt;If you have not installed another version of RStudio, either via Software Center or via a custom installation, your computer should now be lacking a functioning RStudio installation. Continue with the section &lt;a href=&#34;#custom-rstudio-installation&#34;&gt;Custom RStudio installation&lt;/a&gt; to perform a new custom installation of RStudio.&lt;/p&gt;
&lt;p&gt;When you do still have a working RStudio installation on your WURclient computer, return to &lt;a href=&#34;#uninstall-a-previously-installed-rstudio-version&#34;&gt;Uninstall a previously installed RStudio version&lt;/a&gt; and follow the procedure applicable to your situation.&lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;installed-previously-as-a-custom-installation&#34;&gt;Installed previously as a custom installation&lt;/h3&gt;
&lt;p&gt;Let&amp;rsquo;s assume you previously installed RStudio version 1.3.959 on a WURclient computer (either a desktop or laptop) by following the steps for a custom installation of RStudio as described in this post. For a newer version of RStudio the steps are the same.&lt;!--, but names of folders will differ with respect to the R version number.--&gt;&lt;/p&gt;
&lt;p&gt;To uninstall RStudio perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a File Explorer and navigate to the folder &lt;code&gt;C:\MyPrograms\RStudio&lt;/code&gt;. Right-click the file &lt;code&gt;Uninstall.exe&lt;/code&gt; and select &amp;lsquo;WUR - Run with administrative rights&amp;rsquo; as displayed in &lt;a href=&#34;#figure-explorer_uninstall_rstudio&#34;&gt;Figure 1&lt;/a&gt; below.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-explorer_uninstall_rstudio&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Uninstall Custom RStudio Installation from File Explorer.&#34; srcset=&#34;
               /media/rstudio-wurclient/uninstall_custom_rstudio_installation_hu380c998f4901fda8000260a6205a11f3_174646_63ba7443c4ebd6fd4eb30788d1fec5ea.webp 400w,
               /media/rstudio-wurclient/uninstall_custom_rstudio_installation_hu380c998f4901fda8000260a6205a11f3_174646_9bf42889c453e65d81d08befde9a73f5.webp 760w,
               /media/rstudio-wurclient/uninstall_custom_rstudio_installation_hu380c998f4901fda8000260a6205a11f3_174646_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-wurclient/uninstall_custom_rstudio_installation_hu380c998f4901fda8000260a6205a11f3_174646_63ba7443c4ebd6fd4eb30788d1fec5ea.webp&#34;
               width=&#34;760&#34;
               height=&#34;426&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Uninstall Custom RStudio Installation from File Explorer.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;The uninstaller will start as shown below in &lt;a href=&#34;#figure-uninstall_rstudio&#34;&gt;Figure 2&lt;/a&gt;. Click the &amp;lsquo;Uninstall&amp;rsquo; to proceed.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-uninstall_rstudio&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio for Windows Uninstall Announcement.&#34; srcset=&#34;
               /media/rstudio-wurclient/rstudio_uninstaller_hu1ae7dc113956b8f1e02c3cf5509345b9_14628_55bd4d0a85d8fff95cea4875af1bd4f0.webp 400w,
               /media/rstudio-wurclient/rstudio_uninstaller_hu1ae7dc113956b8f1e02c3cf5509345b9_14628_00a3982beaed904996443a7f1bbb9aeb.webp 760w,
               /media/rstudio-wurclient/rstudio_uninstaller_hu1ae7dc113956b8f1e02c3cf5509345b9_14628_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-wurclient/rstudio_uninstaller_hu1ae7dc113956b8f1e02c3cf5509345b9_14628_55bd4d0a85d8fff95cea4875af1bd4f0.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio for Windows Uninstall Announcement.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Once the uninstallation has completed, a message of success will be display as shown below in &lt;a href=&#34;#figure-uninstall_rstudio_success&#34;&gt;Figure 3&lt;/a&gt;. Click the &amp;lsquo;Close&amp;rsquo; button to finish.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-uninstall_rstudio_success&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio for Windows Uninstalled Successfully.&#34; srcset=&#34;
               /media/rstudio-wurclient/rstudio_uninstall_completed_hu4a5ac36de6aec93d848d008f47f60ad4_13403_78ac6254661c839024691507efb15a47.webp 400w,
               /media/rstudio-wurclient/rstudio_uninstall_completed_hu4a5ac36de6aec93d848d008f47f60ad4_13403_a56e67e8d4324bc2d6669c1dcddcdbb6.webp 760w,
               /media/rstudio-wurclient/rstudio_uninstall_completed_hu4a5ac36de6aec93d848d008f47f60ad4_13403_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-wurclient/rstudio_uninstall_completed_hu4a5ac36de6aec93d848d008f47f60ad4_13403_78ac6254661c839024691507efb15a47.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio for Windows Uninstalled Successfully.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    &lt;p&gt;If you have not installed another version of RStudio, either via Software Center or via a custom installation, your computer should now be lacking a functioning RStudio installation. Continue with the section &lt;a href=&#34;#custom-rstudio-installation&#34;&gt;Custom RStudio installation&lt;/a&gt; to perform a new custom installation of RStudio.&lt;/p&gt;
&lt;p&gt;When you do still have a working RStudio installation on your WURclient computer, return to &lt;a href=&#34;#uninstall-a-previously-installed-rstudio-version&#34;&gt;Uninstall a previously installed RStudio version&lt;/a&gt; and follow the procedure applicable to your situation.&lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;custom-rstudio-installation&#34;&gt;Custom RStudio installation&lt;/h2&gt;
&lt;h3 id=&#34;download&#34;&gt;Download&lt;/h3&gt;
&lt;p&gt;At the time this post was written, the latest stable release of RStudio was version 1.4.1717. The post has been updated to the current stable release 2026.04.0 Build 526.&lt;/p&gt;
&lt;p&gt;Download RStudio using the following link: &lt;a href=&#34;https://download1.rstudio.org/electron/windows/RStudio-2026.04.0-526.exe&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;
  &lt;i class=&#34;fas fa-download  pr-1 fa-fw&#34;&gt;&lt;/i&gt; RStudio 2026.04.0 Build 526 (ca. 319.84 MB)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For newer versions of RStudio the steps described after the download are the same, but starting with a newer version of the RStudio executable file.&lt;/p&gt;
&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;
&lt;p&gt;To install RStudio perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click the downloaded file &lt;strong&gt;RStudio-2026.04.0-526.exe&lt;/strong&gt; and select &amp;lsquo;WUR - Run with administrative rights&amp;rsquo;. This file will most likely reside in your Downloads folder of your user account.&lt;/li&gt;
&lt;li&gt;After the installler has started, a Welcome window will appear as displayed below in &lt;a href=&#34;#figure-rstudio_setup&#34;&gt;Figure 4&lt;/a&gt;. Click the ‘Next’ button to proceed.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_setup&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Welcome screen RStudio Setup.&#34; srcset=&#34;
               /media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_89f97afe8513a07d58d5affe705e3391.webp 400w,
               /media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_f55a4b86288b75ccac10fd809fcfcf12.webp 760w,
               /media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_89f97afe8513a07d58d5affe705e3391.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Welcome screen RStudio Setup.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Now the RStudio Setup will allow you to select the installation location by selecting a destination folder. Change the Destination Folder to &lt;code&gt;C:\MyPrograms\Rstudio&lt;/code&gt;, , as shown in &lt;a href=&#34;#figure-rstudio_install_location&#34;&gt;Figure 5&lt;/a&gt; below. Click the ‘Next’ button to continue.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_install_location&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio Installation Location Selection.&#34; srcset=&#34;
               /media/rstudio-wurclient/rstudio_installation_folder_hue69a5a1d6ee61eb768de47549fbc5fd2_16131_872d9ef5c3de5972358733c92d140a36.webp 400w,
               /media/rstudio-wurclient/rstudio_installation_folder_hue69a5a1d6ee61eb768de47549fbc5fd2_16131_4993469912d29c4953dc570dea6665e6.webp 760w,
               /media/rstudio-wurclient/rstudio_installation_folder_hue69a5a1d6ee61eb768de47549fbc5fd2_16131_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-wurclient/rstudio_installation_folder_hue69a5a1d6ee61eb768de47549fbc5fd2_16131_872d9ef5c3de5972358733c92d140a36.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio Installation Location Selection.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Next the RStudio Setup allows choosing a Start Menu folder, as displayed below in &lt;a href=&#34;#figure-rstudio_startmenu_folder&#34;&gt;Figure 6&lt;/a&gt;, where the RStudio shortcut to start the program will be put. Click on ‘Install’ to start the installation of RStudio.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_startmenu_folder&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Setting the RStudio Start Menu Folder.&#34; srcset=&#34;
               /media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_a6f69321f9ac5913e4e71819c4a9caec.webp 400w,
               /media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_81e125f2c79774c9db3f730f90adcfb7.webp 760w,
               /media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_a6f69321f9ac5913e4e71819c4a9caec.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Setting the RStudio Start Menu Folder.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Once the installation of RStudio has finished, the window will look like the one shown below in &lt;a href=&#34;#figure-rstudio_install_completed&#34;&gt;Figure 7&lt;/a&gt;. Click the ‘Finish’ button to close the setup.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_install_completed&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio Installation Completion.&#34; srcset=&#34;
               /media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_df77c4f2bc204e6cdc3e54366ed5e768.webp 400w,
               /media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_3d3c3ae2aecb117b6177a2858e063305.webp 760w,
               /media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_df77c4f2bc204e6cdc3e54366ed5e768.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio Installation Completion.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    Congratulations, &amp;#x1f606;, you now have RStudio 2026.04.0 Build 526 installed on your WURclient desk- or laptop computer!
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;setting-the-default-rstudio-working-directory&#34;&gt;Setting the default RStudio working directory&lt;/h2&gt;
&lt;p&gt;In the default R GUI the working directory at start up is:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-r&#34; data-lang=&#34;r&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;\\\\WURNET.NL&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Homes&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;user001&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;My&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Documents&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;where user001 display your own WUR username, as described in the section &lt;a href=&#34;https://www.verouden.net/post/2021/01/24/r-installation-wurclient/#changing-the-r-gui-working-directory&#34;&gt;Changing the R GUI working directory&lt;/a&gt; of the post &lt;a href=&#34;https://www.verouden.net/post/2021/01/24/r-installation-wurclient&#34;&gt;Custom R installation on a WURclient computer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In RStudio the default working directory of the R Console and Files tab can be set in the &lt;strong&gt;Global Options&amp;hellip;&lt;/strong&gt; item under &lt;strong&gt;Tools&lt;/strong&gt; in the top menu:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;a new window will open by default in the &lt;em&gt;&lt;strong&gt;General&lt;/strong&gt;&lt;/em&gt; part,&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;go to &lt;strong&gt;R Sessions&lt;/strong&gt; and select your &amp;ldquo;Default working directory (when not in a project):&amp;rdquo; by setting the desired folder using the &lt;strong&gt;Browse&lt;/strong&gt; button.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When restarting RStudio you will notice, that both the R console and the Files tab open in the selected default working directory.&lt;/p&gt;
&lt;!-- ## Warning Message RStudio

Lately I have been getting many e-mails claiming that R/RStudio, from Software Center or the custom installation, is not working well within Wageningen University &amp; Research.

Usually the mail contains the following console message:
```r
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
  path[1]=&#34;//WURNET.NL/Homes/user001/My Documents&#34;: Access is denied
```
, where `user001` displays the user&#39;s own personal WUR username.

It is merely a **WARNING MESSAGE**.

This message is only given in RStudio, because it is a persistent problem originating from the use of RStudio within a network environment. On the Fora of RStudio this problem has been appearing since 2014 and has still not been resolved by RStudio.

Whether you installed R and RStudio on a WURclient using Software Center or via the posts of this website, the warning message does not hamper the working of R in RStudio.

As user you can check, where packages are installed using the following command in RStudio:
```r
.libPaths()
```
For a custom installation R will return in the console:
```r
[1] &#34;C:/ProgramData/R/win-library/4.2&#34; &#34;C:/MyPrograms/R/R-4.2.0/library&#34;
```
In case you have a custom installation and the returned paths are different, it means you didn&#39;t follow the steps for the installation of R as described. Please reinstall R as described in [R installed on a WURclient using a custom installation ](/post/2021/01/24/r-installation-wurclient/).


The installation via Software Center will return in the console:
```
[1] &#34;C:/ProgramData/R/win-library/4.1&#34; &#34;C:/Program Filess/R/R-4.1.0/library&#34;
```
In case you have installed via Software Center, but get different paths I urgently request you to contact first the Servicedesk IT. When they can not solve the issue, I will be contacted via them. --&gt;
&lt;h2 id=&#34;resetting-rstudio-desktops-state&#34;&gt;Resetting RStudio desktop&amp;rsquo;s state&lt;/h2&gt;
&lt;!-- Based on: https://support.posit.co/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State --&gt;
&lt;p&gt;RStudio Desktop stores its internal state in a hidden directory. If this directory does not exist, RStudio will create it on start up. This directory includes information about open documents, log files, and other state information. Removing (or renaming) this directory will reset RStudio&amp;rsquo;s state.&lt;/p&gt;
&lt;p&gt;It is recommended to rename this directory to create a backup version instead of completely deleting it. This allows saving your settings, in case needed to revert back to them. Additionally, if experiencing a crash or RStudio failed to start, this directory may contain vital information for determining the source of the error.&lt;/p&gt;
&lt;p&gt;Starting with RStudio 1.3, user preferences are stored in a separate folder from internal state. This allows for performing a state reset without losing settings, and also allows for preferences to be sync&amp;rsquo;ed between machines (in e.g., &lt;code&gt;AppData\Roaming&lt;/code&gt; on Windows) while internal state is machine specific.&lt;/p&gt;
&lt;p&gt;Some versions of RStudio Desktop store additional preferences (such as the size and location of the window and the rendering mode) in a separate location. To fully reset state, this must also be deleted or renamed, as described below in &amp;ldquo;&lt;a href=&#34;#resetting-other-preferences&#34;&gt;Resetting Other Preferences&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;When using RStudio Projects, it is also recommended to reset the project-specific state if experiencing issues - this can done by navigating to the Project&amp;rsquo;s folder in the file browser, and renaming the &lt;code&gt;.Rproj.user&lt;/code&gt; directory there.&lt;/p&gt;
&lt;div class=&#34;alert alert-warning&#34;&gt;
  &lt;div&gt;
    Before resetting the internal state or other preferences make sure that no instance of RStudio is currently running. Use the task manager in Windows to close any running instance of RStudio.
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;accessing-the-rstudio-desktop-directory-internal-state&#34;&gt;Accessing the RStudio-Desktop Directory (Internal State)&lt;/h3&gt;
&lt;p&gt;Open a File Explorer window into the RStudio-Desktop directory by typing the following command into &lt;code&gt;Start -&amp;gt; Run&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%localappdata%&lt;span class=&#34;se&#34;&gt;\R&lt;/span&gt;Studio
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For older versions of RStudio (v1.3 and older), the state is stored here:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%localappdata%&lt;span class=&#34;se&#34;&gt;\R&lt;/span&gt;Studio-Desktop
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Rename the directory &lt;code&gt;Rstudio&lt;/code&gt; or &lt;code&gt;RStudio-Desktop&lt;/code&gt;, e.g. to &lt;code&gt;old_Rstudio&lt;/code&gt;. The environment variable &lt;code&gt;%localappdata&lt;/code&gt; generally resolves into the folder &lt;code&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Local&lt;/code&gt;, where &lt;code&gt;&amp;lt;username&amp;gt;&lt;/code&gt; reflects the username of the current user.&lt;/p&gt;
&lt;h3 id=&#34;resetting-other-preferences&#34;&gt;Resetting other preferences&lt;/h3&gt;
&lt;p&gt;Open an Explorer window into the RStudio preferences directory by typing the following command into &lt;code&gt;Start -&amp;gt; Run&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%appdata%&lt;span class=&#34;se&#34;&gt;\R&lt;/span&gt;Studio
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Rename the directory &lt;code&gt;RStudio&lt;/code&gt;, e.g. to &lt;code&gt;old_Rstudio&lt;/code&gt;. The environment variable &lt;code&gt;%appdata&lt;/code&gt; generally resolves into the folder &lt;code&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming&lt;/code&gt;, where &lt;code&gt;&amp;lt;username&amp;gt;&lt;/code&gt; reflects the username of the current user.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>RStudio installation on macOS</title>
      <link>https://www.verouden.net/post/2020/04/13/rstudio-installation-on-macos/</link>
      <pubDate>Mon, 13 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://www.verouden.net/post/2020/04/13/rstudio-installation-on-macos/</guid>
      <description>&lt;details class=&#34;toc-inpage d-print-none  &#34; open&gt;
  &lt;summary class=&#34;font-weight-bold&#34;&gt;Table of Contents&lt;/summary&gt;
  &lt;nav id=&#34;TableOfContents&#34;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&#34;#motivation&#34;&gt;Motivation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#download&#34;&gt;Download&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#rstudio-installation&#34;&gt;RStudio Installation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#resetting-rstudio-desktops-state&#34;&gt;Resetting RStudio desktop&amp;rsquo;s state&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#accessing-the-rstudio-desktop-directory-internal-state&#34;&gt;Accessing the RStudio-Desktop Directory (Internal State)&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#resetting-other-preferences&#34;&gt;Resetting other preferences&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
&lt;/details&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;!--Due to the novel coronavirus (SARS-CoV-2) and its related disease :mask: COVID-19 employees and students at Wageningen University &amp; Research are all working from home.--&gt;
&lt;p&gt;Whether working, or studying everybody uses various sorts and types of software on their computer. Students taking &lt;a href=&#34;https://www.wur.nl/en/research-results/research-institutes/plant-research/business-units/biometris/education/bsc-and-master-courses.htm&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Statistical Courses, as taught by the Mathematical and Statistical Methods group at Wageningen University &amp;amp; Research&lt;/a&gt;, will most likely use R.&lt;/p&gt;
&lt;p&gt;Some of these courses (e.g., &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=MAT20306&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MAT20306 Advanced Statistics&lt;/a&gt;, &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=MAT27803&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MAT27803 R for Statistics&lt;/a&gt;, and &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=MAT32806&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MAT32806 Statistics for Data Scientists&lt;/a&gt;) mainly use RStudio. Also other courses (e.g., &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=HNH45306&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;HNH45306&lt;/a&gt;, and &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=BIF21306&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;BIF21306&lt;/a&gt;) taught at Wageningen University &amp;amp; Research use R through RStudio as well. Therefore, students will need to be able to install RStudio.&lt;/p&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    This post will show how to install RStudio on a desktop or laptop computer running macOS as operating system.
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In the text some symbol combinations are used for shortcuts, the following table explains the meaning of these symbols in relation to specific keys on your keyboard. To use the shortcuts press the keyboard keys simultaneously, e.g. ⇧⌘A means ⇧+⌘+A.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:center&#34;&gt;Icon&lt;/th&gt;
&lt;th style=&#34;text-align:center&#34;&gt; &lt;/th&gt;
&lt;th style=&#34;text-align:left&#34;&gt;Keyboard Meaning&lt;/th&gt;
&lt;th style=&#34;text-align:center&#34;&gt;  &lt;/th&gt;
&lt;th style=&#34;text-align:center&#34;&gt;Icon&lt;/th&gt;
&lt;th style=&#34;text-align:center&#34;&gt; &lt;/th&gt;
&lt;th style=&#34;text-align:left&#34;&gt;Keyboard Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⌘&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;command&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;  &lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⇪&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;caps lock&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⌥&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;option (or alt)&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;  &lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;↩&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;carriage return (return/enter)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⌃&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;control&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;  &lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⌫&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;delete/backspace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:center&#34;&gt;fn&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;function&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;  &lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⌦&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;forward delete (fn + ⌫)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⇧&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;shift (either left or right)&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;  &lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt;⎋&lt;/td&gt;
&lt;td style=&#34;text-align:center&#34;&gt; &lt;/td&gt;
&lt;td style=&#34;text-align:left&#34;&gt;escape&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;download&#34;&gt;Download&lt;/h2&gt;
&lt;p&gt;At the time this post was written the latest stable release of RStudio was version 1.2.5033. It has been updated to the current stable release 2026.04.0 Build 526 (nicknamed &amp;ldquo;Globemaster Allium&amp;rdquo;), which will work on macOS Sonoma (version 14.x) or later.&lt;/p&gt;
&lt;p&gt;Download RStudio using the following link: &lt;a href=&#34;https://download1.rstudio.org/electron/macos/RStudio-2026.04.0-526.dmg&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;
  &lt;i class=&#34;fas fa-download  pr-1 fa-fw&#34;&gt;&lt;/i&gt; RStudio 2026.04.0 Build 526 (ca. 694.56 MB)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are on a 32 bit system, you can use an &lt;a href=&#34;https://docs.posit.co/previous-versions/rstudio/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;older version of RStudio&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;rstudio-installation&#34;&gt;RStudio Installation&lt;/h2&gt;
&lt;p&gt;The screenshots in the installation steps described below have not been updated. However, the procedure is correct even for newer versions of RStudio. Just bear in mind, that what you see during your installation may differ from the screenshots shown.&lt;/p&gt;
&lt;p&gt;Prior requirement for the RStudio installation on macOS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked=&#34;&#34; disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;a href=&#34;https://www.verouden.net/post/2020/04/08/r-installation-macos/&#34;&gt;R installed and configured on macOS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To be able to install RStudio you will need to have R installed and configured first. If you haven&amp;rsquo;t done so already, please read the (re-)install and configure R on macOS (use the link above to go to that specific post) before continuing with this post.&lt;/p&gt;
&lt;p&gt;To install RStudio on macOS perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the downloaded RStudio disk image. This file will most likely reside in Finder &amp;gt; Downloads (shortcut: ⌥⌘L). The file can more easily be found by switching into List view (shortcut: ⌘2). To switch to Icon view use the shortcut: ⌘1. The Rstudio disk image will look like the image displayed below in &lt;a href=&#34;#figure-rstudio_disk_image&#34;&gt;Figure 1&lt;/a&gt; (version number will differ and reflect the current version).&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_disk_image&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Icon RStudio Disk Image Application&#34; srcset=&#34;
               /media/rstudio-macos/1-rstudio-dmg-icon_huc92b69929e5a083dbfe3a63a4668d41a_30210_676bf6414483c2abcd0fb3c862dd5e79.webp 400w,
               /media/rstudio-macos/1-rstudio-dmg-icon_huc92b69929e5a083dbfe3a63a4668d41a_30210_d6a518662d11dc2f70675472cdd6181c.webp 760w,
               /media/rstudio-macos/1-rstudio-dmg-icon_huc92b69929e5a083dbfe3a63a4668d41a_30210_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-macos/1-rstudio-dmg-icon_huc92b69929e5a083dbfe3a63a4668d41a_30210_676bf6414483c2abcd0fb3c862dd5e79.webp&#34;
               width=&#34;226&#34;
               height=&#34;218&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Icon RStudio Disk Image Application
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Opening the RStudio disk image will cause a window labeled ‘RStudio-xxxx.xx.x-xxx’ to appear (xxxx.xx.x-xxx represents the version number used), containing the RStudio application (see &lt;a href=&#34;#figure-rstudio_install&#34;&gt;Figure 2&lt;/a&gt;).&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_install&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio Application Inside Disk Image&#34; srcset=&#34;
               /media/rstudio-macos/2-rstudio-install_hu4ba8f6cdc3c1c8b9b91b9dadd0a0235d_233868_6aecc049012dab87a6c67f540ebb12d6.webp 400w,
               /media/rstudio-macos/2-rstudio-install_hu4ba8f6cdc3c1c8b9b91b9dadd0a0235d_233868_4b6d30016472ca9dc71ed3b0fef919a3.webp 760w,
               /media/rstudio-macos/2-rstudio-install_hu4ba8f6cdc3c1c8b9b91b9dadd0a0235d_233868_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-macos/2-rstudio-install_hu4ba8f6cdc3c1c8b9b91b9dadd0a0235d_233868_6aecc049012dab87a6c67f540ebb12d6.webp&#34;
               width=&#34;760&#34;
               height=&#34;538&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio Application Inside Disk Image
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Drag the RStudio application and drop it on the Applications folder shown in the same window.&lt;/li&gt;
&lt;li&gt;Close the ‘RStudio-xxxx.xx.x-xxx’ window by clicking on the red ball in the top left corner of the window.&lt;/li&gt;
&lt;li&gt;The opened disk image is still mounted as a volume on your desktop and will look like the image shown below in &lt;a href=&#34;#figure-rstudio_mounted&#34;&gt;Figure 3&lt;/a&gt;. Click this icon on your desktop once to select it and press ⌘E (shortcut for eject) to close it. Now you can discard the downloaded &lt;code&gt;RStudio-xxxx.xx.x-xxx.dmg&lt;/code&gt; file from Finder &amp;gt; Downloads (shortcut: ⌥⌘L) by clicking it once to select and using the shortcut ⌦ (press: fn + ⌫) to put it in the trashbin. To completely remove the installer disk image remove it from your trashbin.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_mounted&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Mounted RStudio Volume&#34; srcset=&#34;
               /media/rstudio-macos/3-rstudio-desktop-volume_huebb7ff6723e0b3b301d0e95ada3ecb5a_72268_977230badac8943aa284d0577e41c788.webp 400w,
               /media/rstudio-macos/3-rstudio-desktop-volume_huebb7ff6723e0b3b301d0e95ada3ecb5a_72268_bcda0262dfebf5f549dd94174350d7fa.webp 760w,
               /media/rstudio-macos/3-rstudio-desktop-volume_huebb7ff6723e0b3b301d0e95ada3ecb5a_72268_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-macos/3-rstudio-desktop-volume_huebb7ff6723e0b3b301d0e95ada3ecb5a_72268_977230badac8943aa284d0577e41c788.webp&#34;
               width=&#34;246&#34;
               height=&#34;188&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Mounted RStudio Volume
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    Congratulations, &amp;#x1f606;, you now have successfully installed RStudio on your mac! The icon in your Applications (shortcut: ⇧⌘A) or Launcher will look the same as the R application icon you dragged and dropped in step 3. of the installation steps described above.
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;resetting-rstudio-desktops-state&#34;&gt;Resetting RStudio desktop&amp;rsquo;s state&lt;/h2&gt;
&lt;!-- Based on: https://support.posit.co/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State --&gt;
&lt;p&gt;RStudio Desktop stores its internal state in a hidden directory. If this directory does not exist, RStudio will create it on start up. This directory includes information about open documents, log files, and other state information. Removing (or renaming) this directory will reset RStudio&amp;rsquo;s state.&lt;/p&gt;
&lt;p&gt;It is recommended to rename this directory to create a backup version instead of completely deleting it. This allows saving your settings, in case needed to revert back to them. Additionally, if experiencing a crash or RStudio failed to start, this directory may contain vital information for determining the source of the error.&lt;/p&gt;
&lt;p&gt;Starting with RStudio 1.3, user preferences are stored in a separate folder from internal state. This allows for performing a state reset without losing settings, and also allows for preferences to be sync&amp;rsquo;ed between machines (in e.g., &lt;code&gt;AppData\Roaming&lt;/code&gt; on Windows) while internal state is machine specific.&lt;/p&gt;
&lt;p&gt;Some versions of RStudio Desktop store additional preferences (such as the size and location of the window and the rendering mode) in a separate location. To fully reset state, this must also be deleted or renamed, as described below in &amp;ldquo;&lt;a href=&#34;#resetting-other-preferences&#34;&gt;Resetting Other Preferences&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;When using RStudio Projects, it is also recommended to reset the project-specific state if experiencing issues - this can done by navigating to the Project&amp;rsquo;s folder in the file browser, and renaming the &lt;code&gt;.Rproj.user&lt;/code&gt; directory there.&lt;/p&gt;
&lt;div class=&#34;alert alert-warning&#34;&gt;
  &lt;div&gt;
    Before resetting the internal state or other preferences make sure that no instance of RStudio is currently running. Use ⌘⌥⎋ (Command + Option + Escape) and, if needed, force quit an unresponsive RStudio instance.
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;accessing-the-rstudio-desktop-directory-internal-state&#34;&gt;Accessing the RStudio-Desktop Directory (Internal State)&lt;/h3&gt;
&lt;p&gt;A backup can easily created by running the following command from the terminal:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mv ~/.local/share/rstudio ~/.local/share/rstudio-backup
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Alternatively, open a Finder window into the rstudio directory by typing the following command at the Terminal:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;open ~/.local/share/rstudio
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In RStudio 1.3 and prior, the folder &lt;code&gt;~/.rstudio-desktop&lt;/code&gt; is used instead of &lt;code&gt;~/.local/share/rstudio&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;resetting-other-preferences&#34;&gt;Resetting other preferences&lt;/h3&gt;
&lt;p&gt;To create a backup, run the following command from the terminal:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;defaults &lt;span class=&#34;nb&#34;&gt;read&lt;/span&gt; com.rstudio.desktop &amp;gt; ~/backup-rstudio-prefs
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To delete these settings, run the following command from the terminal:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;defaults delete com.rstudio.desktop
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;alert alert-warning&#34;&gt;
  &lt;div&gt;
    Use caution; this cannot be undone unless you have created the backup file, and deleting anything other than &lt;code&gt;com.rstudio.desktop&lt;/code&gt; could create serious problems with your system.
  &lt;/div&gt;
&lt;/div&gt;
</description>
    </item>
    
    <item>
      <title>RStudio installation on Windows 10/11</title>
      <link>https://www.verouden.net/post/2020/04/13/rstudio-installation-on-windows-10/</link>
      <pubDate>Mon, 13 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://www.verouden.net/post/2020/04/13/rstudio-installation-on-windows-10/</guid>
      <description>&lt;details class=&#34;toc-inpage d-print-none  &#34; open&gt;
  &lt;summary class=&#34;font-weight-bold&#34;&gt;Table of Contents&lt;/summary&gt;
  &lt;nav id=&#34;TableOfContents&#34;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&#34;#motivation&#34;&gt;Motivation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#installation&#34;&gt;Installation&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#1-wur-appstore&#34;&gt;1. WUR AppStore&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#2-manual-installation&#34;&gt;2. Manual Installation&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#resetting-rstudio-desktops-state&#34;&gt;Resetting RStudio desktop&amp;rsquo;s state&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#accessing-the-rstudio-desktop-directory-internal-state&#34;&gt;Accessing the RStudio-Desktop Directory (Internal State)&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#resetting-other-preferences&#34;&gt;Resetting other preferences&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
&lt;/details&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;!--Due to the novel coronavirus (SARS-CoV-2) and its related disease :mask: COVID-19 employees and students at Wageningen University &amp; Research are all working from home.--&gt;
&lt;p&gt;Whether working, or studying everybody uses various sorts and types of software on their computer. Students taking &lt;a href=&#34;https://www.wur.nl/en/research-results/research-institutes/plant-research/business-units/biometris/education/bsc-and-master-courses.htm&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Statistical Courses, as taught by the Mathematical and Statistical Methods group at Wageningen University &amp;amp; Research&lt;/a&gt;, will most likely use R.&lt;/p&gt;
&lt;p&gt;Some of these courses (e.g., &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=MAT20306&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MAT20306 Advanced Statistics&lt;/a&gt;, &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=MAT27803&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MAT27803 R for Statistics&lt;/a&gt;, and &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=MAT32806&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MAT32806 Statistics for Data Scientists&lt;/a&gt;) mainly use RStudio. Also other courses (e.g., &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=HNH45306&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;HNH45306&lt;/a&gt;, and &lt;a href=&#34;https://wur.osiris-student.nl/onderwijscatalogus/extern/cursus?cursuscode=BIF21306&amp;amp;collegejaar=huidig&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;BIF21306&lt;/a&gt;) taught at Wageningen University &amp;amp; Research use R through RStudio as well. Therefore, students will need to be able to install RStudio.&lt;/p&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    This post will show how to install RStudio on a &lt;strong&gt;privately owned&lt;/strong&gt; desktop or laptop computer running Windows 10/11 as operating system.
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;alert alert-warning&#34;&gt;
  &lt;div&gt;
    The installation instructions in this post are &lt;u&gt;&lt;strong&gt;not to be used on WURclient desktops or laptops&lt;/strong&gt;&lt;/u&gt;! For a WURclient desktop or laptop see the post: &lt;a href=&#34;https://www.verouden.net/post/2021/06/17/rstudio-installation-wurclient/&#34;&gt;Custom RStudio installation on a WURclient computer&lt;/a&gt;.
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Two ways to install R are offered here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;#1-wur-appstore&#34;&gt;WUR AppStore&lt;/a&gt;. This is the &lt;strong&gt;RECOMMENDED&lt;/strong&gt; way!&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#2-manual-installation&#34;&gt;Manual installation&lt;/a&gt; for those who, for whatever reason, do not want to use the WUR AppStore.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;installation&#34;&gt;Installation&lt;/h2&gt;
&lt;h3 id=&#34;1-wur-appstore&#34;&gt;1. WUR AppStore&lt;/h3&gt;
&lt;p&gt;The WUR AppStore is the place where you will be able to download, link to, or virtually access the software you need for your study program and courses. Not only during, but also for self-study after, the computer practical&amp;rsquo;s and courses.&lt;/p&gt;
&lt;p&gt;Prior requirement for the installation of RStudio via the WUR AppStore:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked=&#34;&#34; disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;a href=&#34;https://www.verouden.net/post/2020/04/06/r-installation-windows-10/#1-wur-appstore&#34;&gt;R installed on Windows 10/11 via the WUR AppStore&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The WUR AppStore currently contains RStudio version 2025.05.1 Build 513 named &amp;ldquo;&lt;strong&gt;RStudio 2025.05.1.513&lt;/strong&gt;&amp;rdquo;.&lt;/p&gt;
&lt;h3 id=&#34;2-manual-installation&#34;&gt;2. Manual Installation&lt;/h3&gt;
&lt;h4 id=&#34;download&#34;&gt;Download&lt;/h4&gt;
&lt;p&gt;At the time this post was written, the latest stable release of RStudio was version 1.2.5033. The post has been updated to the current stable release version 2026.04.0 Build 526 (named &amp;ldquo;Globemaster Allium&amp;rdquo;).&lt;/p&gt;
&lt;p&gt;Download RStudio using the following link: &lt;a href=&#34;https://download1.rstudio.org/electron/windows/RStudio-2026.04.0-526.exe&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;
  &lt;i class=&#34;fas fa-download  pr-1 fa-fw&#34;&gt;&lt;/i&gt; RStudio 2026.04.0 Build 526 (ca. 319.84 MB)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For newer versions of RStudio the steps described after the download are the same, but starting with a newer version of the RStudio executable file.&lt;/p&gt;
&lt;h4 id=&#34;rstudio-installation&#34;&gt;RStudio Installation&lt;/h4&gt;
&lt;p&gt;Prior requirement for the installation of RStudio:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked=&#34;&#34; disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;a href=&#34;https://www.verouden.net/post/2020/04/06/r-installation-windows-10/#2-manual-installation&#34;&gt;R installed on Windows 10/11 via Manual Installation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To be able to install RStudio you will need to have R installed first. If you haven&amp;rsquo;t done so already, please first install R on your Windows 10/11 computer (use the link above to go to that specific post).&lt;/p&gt;
&lt;p&gt;To install RStudio on Windows 10/11 perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the downloaded file &lt;strong&gt;RStudio-2026.04.0-526.exe&lt;/strong&gt;. This file will most likely reside in the Downloads folder of your user account.&lt;/li&gt;
&lt;li&gt;Allow to install the software on your computer.&lt;/li&gt;
&lt;li&gt;After the installler has started, a Welcome window will appear as displayed below in &lt;a href=&#34;#figure-rstudio_setup&#34;&gt;Figure 1&lt;/a&gt;. Click the ‘Next’ button to proceed.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_setup&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Welcome screen RStudio Setup.&#34; srcset=&#34;
               /media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_89f97afe8513a07d58d5affe705e3391.webp 400w,
               /media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_f55a4b86288b75ccac10fd809fcfcf12.webp 760w,
               /media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/1-rstudio-w10_hu9d9240117c38b10c52cdc898f8891ce7_15845_89f97afe8513a07d58d5affe705e3391.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Welcome screen RStudio Setup.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Now the RStudio Setup will allow you to select the installation location by selecting a destination folder, as shown in &lt;a href=&#34;#figure-rstudio_install_location&#34;&gt;Figure 2&lt;/a&gt; below. Leave the default specified folder or, if you know what you are doing, select an alternative installation destination folder, then click the ‘Next’ button to continue.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_install_location&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio Installation Location Selection.&#34; srcset=&#34;
               /media/rstudio-windows/2-rstudio-location-w10_hu86684e2eb4b604b36806acca70bf3746_20370_4ac9bd7d93df7a88e3cf3e85eacba4bb.webp 400w,
               /media/rstudio-windows/2-rstudio-location-w10_hu86684e2eb4b604b36806acca70bf3746_20370_b4dadbf8de1ac5ad554c950972baaf61.webp 760w,
               /media/rstudio-windows/2-rstudio-location-w10_hu86684e2eb4b604b36806acca70bf3746_20370_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/2-rstudio-location-w10_hu86684e2eb4b604b36806acca70bf3746_20370_4ac9bd7d93df7a88e3cf3e85eacba4bb.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio Installation Location Selection.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Next the RStudio Setup allows choosing a Start Menu folder, as displayed below in &lt;a href=&#34;#figure-rstudio_startmenu_folder&#34;&gt;Figure 3&lt;/a&gt;, where the RStudio shortcut to start the program will be put. Click on ‘Install’ to start the installation of RStudio.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_startmenu_folder&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Setting the RStudio Start Menu Folder.&#34; srcset=&#34;
               /media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_a6f69321f9ac5913e4e71819c4a9caec.webp 400w,
               /media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_81e125f2c79774c9db3f730f90adcfb7.webp 760w,
               /media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/3-rstudio-start-folder-w10_hufe39066e8a360cd6fb49b03e7ec4bccc_23423_a6f69321f9ac5913e4e71819c4a9caec.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      Setting the RStudio Start Menu Folder.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;Once the installation of RStudio has finished, the window will look like the one shown below in &lt;a href=&#34;#figure-rstudio_install_completed&#34;&gt;Figure 4&lt;/a&gt;. Click the ‘Finish’ button to close the setup.&lt;/li&gt;
&lt;/ol&gt;
















&lt;figure  id=&#34;figure-rstudio_install_completed&#34;&gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;RStudio Installation Completion.&#34; srcset=&#34;
               /media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_df77c4f2bc204e6cdc3e54366ed5e768.webp 400w,
               /media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_3d3c3ae2aecb117b6177a2858e063305.webp 760w,
               /media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_1200x1200_fit_q90_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://www.verouden.net/media/rstudio-windows/5-rstudio-completed-w10_hua3bbbcb039472205c08eb8445793a625_12484_df77c4f2bc204e6cdc3e54366ed5e768.webp&#34;
               width=&#34;499&#34;
               height=&#34;388&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;figcaption data-pre=&#34;Figure&amp;nbsp;&#34; data-post=&#34;:&amp;nbsp;&#34; class=&#34;numbered&#34;&gt;
      RStudio Installation Completion.
    &lt;/figcaption&gt;&lt;/figure&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;div&gt;
    Congratulations, &amp;#x1f606;, you now have RStudio 2026.04.0 Build 526 installed on your private Windows desktop or laptop computer!
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;resetting-rstudio-desktops-state&#34;&gt;Resetting RStudio desktop&amp;rsquo;s state&lt;/h2&gt;
&lt;!-- Based on: https://support.posit.co/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State --&gt;
&lt;p&gt;RStudio Desktop stores its internal state in a hidden directory. If this directory does not exist, RStudio will create it on start up. This directory includes information about open documents, log files, and other state information. Removing (or renaming) this directory will reset RStudio&amp;rsquo;s state.&lt;/p&gt;
&lt;p&gt;It is recommended to rename this directory to create a backup version instead of completely deleting it. This allows saving your settings, in case needed to revert back to them. Additionally, if experiencing a crash or RStudio failed to start, this directory may contain vital information for determining the source of the error.&lt;/p&gt;
&lt;p&gt;Starting with RStudio 1.3, user preferences are stored in a separate folder from internal state. This allows for performing a state reset without losing settings, and also allows for preferences to be sync&amp;rsquo;ed between machines (in e.g., &lt;code&gt;AppData\Roaming&lt;/code&gt; on Windows) while internal state is machine specific.&lt;/p&gt;
&lt;p&gt;Some versions of RStudio Desktop store additional preferences (such as the size and location of the window and the rendering mode) in a separate location. To fully reset state, this must also be deleted or renamed, as described below in &amp;ldquo;&lt;a href=&#34;#resetting-other-preferences&#34;&gt;Resetting Other Preferences&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;When using RStudio Projects, it is also recommended to reset the project-specific state if experiencing issues - this can done by navigating to the Project&amp;rsquo;s folder in the file browser, and renaming the &lt;code&gt;.Rproj.user&lt;/code&gt; directory there.&lt;/p&gt;
&lt;div class=&#34;alert alert-warning&#34;&gt;
  &lt;div&gt;
    Before resetting the internal state or other preferences make sure that no instance of RStudio is currently running. Use the task manager in Windows to close any running instance of RStudio.
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;accessing-the-rstudio-desktop-directory-internal-state&#34;&gt;Accessing the RStudio-Desktop Directory (Internal State)&lt;/h3&gt;
&lt;p&gt;Open a File Explorer window into the RStudio-Desktop directory by typing the following command into &lt;code&gt;Start -&amp;gt; Run&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%localappdata%&lt;span class=&#34;se&#34;&gt;\R&lt;/span&gt;Studio
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For older versions of RStudio (v1.3 and older), the state is stored here:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%localappdata%&lt;span class=&#34;se&#34;&gt;\R&lt;/span&gt;Studio-Desktop
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Rename the directory &lt;code&gt;Rstudio&lt;/code&gt; or &lt;code&gt;RStudio-Desktop&lt;/code&gt;, e.g. to &lt;code&gt;old_Rstudio&lt;/code&gt;. The environment variable &lt;code&gt;%localappdata&lt;/code&gt; generally resolves into the folder &lt;code&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Local&lt;/code&gt;, where &lt;code&gt;&amp;lt;username&amp;gt;&lt;/code&gt; reflects the username of the current user.&lt;/p&gt;
&lt;h3 id=&#34;resetting-other-preferences&#34;&gt;Resetting other preferences&lt;/h3&gt;
&lt;p&gt;Open an Explorer window into the RStudio preferences directory by typing the following command into &lt;code&gt;Start -&amp;gt; Run&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%appdata%&lt;span class=&#34;se&#34;&gt;\R&lt;/span&gt;Studio
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Rename the directory&lt;code&gt;RStudio&lt;/code&gt;, e.g. to &lt;code&gt;old_Rstudio&lt;/code&gt;. The environment variable &lt;code&gt;%appdata&lt;/code&gt; generally resolves into the folder &lt;code&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming&lt;/code&gt;, where &lt;code&gt;&amp;lt;username&amp;gt;&lt;/code&gt; reflects the username of the current user.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
