Executing R Scripts from within Statistica Visual Basic
A typical use case for leveraging specialized R functionality within Statistica is to call R scripts from inside a Statistica Visual Basic (SVB) macro. This way, you can build new modules using the SVB User Interface library and methods implemented in R scripts. Likewise, such functionality is required in order to create Statistica Enterprise SVB analysis configurations, or Statistica Workspace nodes (for Statistica or Statistica Server) that leverage R.
However, to provide any non-trivial functionality within an R script, you need to parameterize that script with user-selected parameters, variables lists, input spreadsheets, and so on. Statistica provides a simple and powerful way to pass such parameters to R scripts.