# Troubleshooting RStudio with Spotfire Enterprise Runtime for R

If you have problems configuring RStudio with TERR, check for advice in this topic.

When I configured RStudio on Windows to point to TERR instead of open-source R, I see a blank GUI.
  You might see a blank user interface with a version of TERR older than version 4.2. This can occur if the version of RStudio you have installed is not compatible with TERR. Follow these steps to fix the problem.
  1. In Windows Explorer, go to C:\Users\currentUser\AppData\Roaming\RStudio.
  2. Delete the file Desktop.ini.
     Note: This technique forces RStudio to refresh and default to open-source R as the engine.
  3. Go to the requirements page for your version of TERR and note the version of RStudio for which it was tested. See TERR system requirements, and in the All product system requirements drop-down list box, select Spotfire Enterprise Runtime for R (TERR).
  4. Download and install that version of RStudio.
  5. After you have the version of RStudio that is compatible with your version of TERR, follow the steps to point RStudio to your installation of TERR.
When I try to use an RStudio feature with TERR that requires the rmarkdown or shiny packages, RStudio tries to download the packages but fails.
  If the rmarkdown or the shiny packages are not already installed, and if you try to use an RStudio feature that requires one or both of these packages, RStudio prompts to install them automatically. This process currently fails if RStudio is configured with the TERR engine. To work around this problem, at the command prompt, call `install.packages()` to install the rmarkdown and shiny packages.
When I click Help > Check for Updates, nothing happens.
  When RStudio is configured with TERR, the menu item Help > Check for Updates does nothing. To check for updates to RStudio from this menu item, you must change the RStudio configuration to run open-source R.

Tip: An easy way to select an engine for RStudio is to hold down Ctrl while you start RStudio. This action displays the dialog for choosing a different R engine. You can select TERR in this dialog.