R Language Primer
The R language has been developed into the open-source R engine and the TERR engine (among others), all developed from the legacy S-PLUS language.
Some differences exist between the open-source R engine and the TERR engine; however, they are highly compatible. Most scripts and functions that you write in open-source R run in the TERR engine.
This documentation is not intended to teach programmers how to write scripts and functions or delve too deeply into creating R language packages. Rather, we address techniques for skilled package developers who must test and share their packages across an organization that has deployed Spotfire (and optionally Spotfire® Statistics Services), and that uses the TERR engine to run the package code.
See Recommendations for Using R Securely for more guidelines for downloading R and packages.