Getting error "Rtools is required to build R packages" when installing new package in TIBCO Spotfire Analyst

Getting error "Rtools is required to build R packages" when installing new package in TIBCO Spotfire Analyst

book

Article ID: KB0074676

calendar_today

Updated On:

Products Versions
Spotfire Analyst 10.10 and lower
TIBCO Cloud Spotfire 10.10 and lower
Spotfire Enterprise Runtime for R 5.1 and lower

Description

When attempting to install a package using the RStudio IDE under TERR Tools, user gets the following error even though Rtools is installed correctly.

"WARNING: Rtools is required to build R packages but is not currently
installed. Please download and install the appropriate version of Rtools
before proceeding."

 

Issue/Introduction

When using TERR Tools to install packages under RStudio IDE getting an error about missing Rtools

Resolution

Spotfire 10.10 includes TERR 5.1, which was built to be compatible with R 3.6.2.  Check the version of Rtools installed, as TERR 5.1 is not compatible with Rtools 4.0, and downgrade to a supported version of Rtools.

Additional Information

External: https://stackoverflow.com/questions/63746820/getting-rtools40-to-work-on-rstudio-1-2-5042-and-terr-tibco-engine-r-in-window?noredirect=1#comment112726900_63746820

Doc: TIBCO Enterprise Runtime for R system requirements