You can install local packages for TERR using the Tools > TERR Console.

Depending on the install (usually for client sites), you will need to run Spotfire as an administrator since the packages will be installed into the Program Files directory.  

Alternatively, you can just copy the R package folders into the TERR library location.