TERR Console in Spotfire?

Hi all, I hope someone can help.

Basically, when I write R scripts I like to add in print statements to know where I am, for example if I'm looping through millions of elements in a list, I like to do something along the lines of:

for (i in length(1:someVector)) {

print (someVector[i])



But of course the print statements do not show anywhere on Spotfire when I run the above as a data function, does anyone have any idea how I could maybe bring up a console that can show console output to the user? If that's not possible, is there any other way of showing the user print statements?



(2) Answers