I want to pass data from Spotfire to R and then display the plot constructed by R.
What is the best way to do this?
You need to register a data function with inputs and outputs, and the specific PNG data needs to be returned as a binary label.
Some details: http://spotfire.tibco.com/tips/2014/02/25/dynamically-displaying-images-in-a-text-area/