From Spotfire R / TERR script editor, have a right-click option to export existing script to R-Studio and automatically export the Spotfire Data that is required in the script.
Currently, a user needs to copy the R / TERR from Spotfire, then launch R-Studio and paste into a new R-Studio script.
Then inside Spotfire, run a TERR script similar to this:
save(table, file="D:\\hector\\Spotfire\\SOFTWARE\\TERR\\TERR Workspace\\myData.Rdata", RFormat = TRUE)
where table is the table of data needed in the script that will export the data into an Rdata file.
Then import this Rdata file in R-Studio.
This should all be done automatically with a simple right-click "Export to R-Studio"